public static class STCClusteringAlgorithmDescriptor.AttributeBuilder extends Object
STCClusteringAlgorithm component. You can use this
builder as a type-safe alternative to populating the attribute map using attribute keys.| Modifier and Type | Field and Description |
|---|---|
Map<String,Object> |
map
The attribute map populated by this builder.
|
| Modifier | Constructor and Description |
|---|---|
protected |
STCClusteringAlgorithmDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.
|
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)
public STCClusteringAlgorithmDescriptor.AttributeBuilder ignoreWordIfInHigherDocsPercent(double value)
public STCClusteringAlgorithmDescriptor.AttributeBuilder minBaseClusterScore(double value)
public STCClusteringAlgorithmDescriptor.AttributeBuilder maxBaseClusters(int value)
public STCClusteringAlgorithmDescriptor.AttributeBuilder minBaseClusterSize(int value)
public STCClusteringAlgorithmDescriptor.AttributeBuilder maxClusters(int value)
STCClusteringAlgorithm.maxClusterspublic STCClusteringAlgorithmDescriptor.AttributeBuilder mergeThreshold(double value)
public STCClusteringAlgorithmDescriptor.AttributeBuilder maxPhraseOverlap(double value)
public STCClusteringAlgorithmDescriptor.AttributeBuilder mostGeneralPhraseCoverage(double value)
public STCClusteringAlgorithmDescriptor.AttributeBuilder maxDescPhraseLength(int value)
public STCClusteringAlgorithmDescriptor.AttributeBuilder maxPhrases(int value)
STCClusteringAlgorithm.maxPhrasespublic STCClusteringAlgorithmDescriptor.AttributeBuilder singleTermBoost(double value)
public STCClusteringAlgorithmDescriptor.AttributeBuilder optimalPhraseLength(int value)
public STCClusteringAlgorithmDescriptor.AttributeBuilder optimalPhraseLengthDev(double value)
public STCClusteringAlgorithmDescriptor.AttributeBuilder documentCountBoost(double value)
public 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.