|
Carrot2 v3.6.0-SNAPSHOT
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.clustering.stc.STCClusteringAlgorithmDescriptor.AttributeBuilder
public static class STCClusteringAlgorithmDescriptor.AttributeBuilder
Attribute map builder for the STCClusteringAlgorithm component. You can use this
builder as a type-safe alternative to populating the attribute map using attribute keys.
| Field Summary | |
|---|---|
Map<String,Object> |
map
The attribute map populated by this builder. |
| Constructor Summary | |
|---|---|
protected |
STCClusteringAlgorithmDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Map<String,Object> map
| Constructor Detail |
|---|
protected STCClusteringAlgorithmDescriptor.AttributeBuilder(Map<String,Object> map)
| Method Detail |
|---|
public STCClusteringAlgorithmDescriptor.AttributeBuilder query(String value)
STCClusteringAlgorithm.querypublic STCClusteringAlgorithmDescriptor.AttributeBuilder documents(List<Document> value)
STCClusteringAlgorithm.documentspublic List<Cluster> clusters()
STCClusteringAlgorithm.clusterspublic STCClusteringAlgorithmDescriptor.AttributeBuilder ignoreWordIfInFewerDocs(int value)
STCClusteringAlgorithm.ignoreWordIfInFewerDocspublic STCClusteringAlgorithmDescriptor.AttributeBuilder ignoreWordIfInHigherDocsPercent(double value)
STCClusteringAlgorithm.ignoreWordIfInHigherDocsPercentpublic STCClusteringAlgorithmDescriptor.AttributeBuilder minBaseClusterScore(double value)
STCClusteringAlgorithm.minBaseClusterScorepublic STCClusteringAlgorithmDescriptor.AttributeBuilder maxBaseClusters(int value)
STCClusteringAlgorithm.maxBaseClusterspublic STCClusteringAlgorithmDescriptor.AttributeBuilder minBaseClusterSize(int value)
STCClusteringAlgorithm.minBaseClusterSizepublic STCClusteringAlgorithmDescriptor.AttributeBuilder maxClusters(int value)
STCClusteringAlgorithm.maxClusterspublic STCClusteringAlgorithmDescriptor.AttributeBuilder mergeThreshold(double value)
STCClusteringAlgorithm.mergeThresholdpublic STCClusteringAlgorithmDescriptor.AttributeBuilder maxPhraseOverlap(double value)
STCClusteringAlgorithm.maxPhraseOverlappublic STCClusteringAlgorithmDescriptor.AttributeBuilder mostGeneralPhraseCoverage(double value)
STCClusteringAlgorithm.mostGeneralPhraseCoveragepublic STCClusteringAlgorithmDescriptor.AttributeBuilder maxDescPhraseLength(int value)
STCClusteringAlgorithm.maxDescPhraseLengthpublic STCClusteringAlgorithmDescriptor.AttributeBuilder maxPhrases(int value)
STCClusteringAlgorithm.maxPhrasespublic STCClusteringAlgorithmDescriptor.AttributeBuilder singleTermBoost(double value)
STCClusteringAlgorithm.singleTermBoostpublic STCClusteringAlgorithmDescriptor.AttributeBuilder optimalPhraseLength(int value)
STCClusteringAlgorithm.optimalPhraseLengthpublic STCClusteringAlgorithmDescriptor.AttributeBuilder optimalPhraseLengthDev(double value)
STCClusteringAlgorithm.optimalPhraseLengthDevpublic STCClusteringAlgorithmDescriptor.AttributeBuilder documentCountBoost(double value)
STCClusteringAlgorithm.documentCountBoostpublic BasicPreprocessingPipelineDescriptor.AttributeBuilder preprocessingPipeline()
BasicPreprocessingPipeline component, backed by the same attribute map
as the current builder.
public MultilingualClusteringDescriptor.AttributeBuilder multilingualClustering()
MultilingualClustering component, backed by the same attribute map
as the current builder.
|
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 | ||||||||