|
Carrot2 v3.3.0
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.text.clustering.MultilingualClustering
public class MultilingualClustering
A helper for clustering multilingual collections of documents. The helper partitions
the input documents by Document.LANGUAGE, clusters each such monolingual
partition separately and then aggregates the partial cluster lists based on the
selected MultilingualClustering.LanguageAggregationStrategy.
| Nested Class Summary | |
|---|---|
static class |
MultilingualClustering.LanguageAggregationStrategy
Defines how monolingual partial clusters will be combined to form final results. |
| Field Summary | |
|---|---|
LanguageCode |
defaultLanguage
Default clustering language. |
MultilingualClustering.LanguageAggregationStrategy |
languageAggregationStrategy
Language aggregation strategy. |
| Constructor Summary | |
|---|---|
MultilingualClustering()
|
|
| Method Summary | |
|---|---|
List<Cluster> |
process(List<Document> documents,
IMonolingualClusteringAlgorithm algorithm)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public MultilingualClustering.LanguageAggregationStrategy languageAggregationStrategy
MultilingualClustering.LanguageAggregationStrategy for the list of available options.
public LanguageCode defaultLanguage
Document.LANGUAGE.
| Constructor Detail |
|---|
public MultilingualClustering()
| Method Detail |
|---|
public List<Cluster> process(List<Document> documents,
IMonolingualClusteringAlgorithm algorithm)
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||