@Bindable(prefix="MultilingualClustering") public class MultilingualClustering extends Object
Document.LANGUAGE, clusters each such monolingual
partition separately and then aggregates the partial cluster lists based on the
selected MultilingualClustering.LanguageAggregationStrategy.| Modifier and Type | Class and Description |
|---|---|
static class |
MultilingualClustering.LanguageAggregationStrategy
Defines how monolingual partial clusters will be combined to form final results.
|
| Modifier and Type | Field and Description |
|---|---|
LanguageCode |
defaultLanguage
Default clustering language.
|
MultilingualClustering.LanguageAggregationStrategy |
languageAggregationStrategy
Language aggregation strategy.
|
| Constructor and Description |
|---|
MultilingualClustering() |
@Input @Processing @Attribute @Required @Group(value="Multilingual clustering") @Level(value=MEDIUM) public MultilingualClustering.LanguageAggregationStrategy languageAggregationStrategy
MultilingualClustering.LanguageAggregationStrategy
for the list of available options.@Input @Processing @Attribute @Required @Group(value="Multilingual clustering") @Level(value=MEDIUM) public LanguageCode defaultLanguage
Document.LANGUAGE.public List<Cluster> process(List<Document> documents, IMonolingualClusteringAlgorithm algorithm)