public static class LingoClusteringAlgorithmDescriptor.AttributeBuilder extends Object
LingoClusteringAlgorithm 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 |
LingoClusteringAlgorithmDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.
|
| Modifier and Type | Method and Description |
|---|---|
ClusterBuilderDescriptor.AttributeBuilder |
clusterBuilder()
Returns an attribute builder for the nested
ClusterBuilder component, backed by the same attribute map
as the current builder. |
List<Cluster> |
clusters() |
LingoClusteringAlgorithmDescriptor.AttributeBuilder |
desiredClusterCountBase(int value)
Desired cluster count base.
|
LingoClusteringAlgorithmDescriptor.AttributeBuilder |
documents(List<Document> value)
Documents to cluster.
|
LabelFormatterDescriptor.AttributeBuilder |
labelFormatter()
Returns an attribute builder for the nested
LabelFormatter component, backed by the same attribute map
as the current builder. |
TermDocumentMatrixBuilderDescriptor.AttributeBuilder |
matrixBuilder()
Returns an attribute builder for the nested
TermDocumentMatrixBuilder component, backed by the same attribute map
as the current builder. |
TermDocumentMatrixReducerDescriptor.AttributeBuilder |
matrixReducer()
Returns an attribute builder for the nested
TermDocumentMatrixReducer component, backed by the same attribute map
as the current builder. |
MultilingualClusteringDescriptor.AttributeBuilder |
multilingualClustering()
Returns an attribute builder for the nested
MultilingualClustering component, backed by the same attribute map
as the current builder. |
CompletePreprocessingPipelineDescriptor.AttributeBuilder |
preprocessingPipeline()
Returns an attribute builder for the nested
CompletePreprocessingPipeline component, backed by the same attribute map
as the current builder. |
LingoClusteringAlgorithmDescriptor.AttributeBuilder |
query(String value)
Query that produced the documents.
|
LingoClusteringAlgorithmDescriptor.AttributeBuilder |
scoreWeight(double value)
Balance between cluster score and size during cluster sorting.
|
public LingoClusteringAlgorithmDescriptor.AttributeBuilder query(String value)
LingoClusteringAlgorithm.querypublic LingoClusteringAlgorithmDescriptor.AttributeBuilder documents(List<Document> value)
LingoClusteringAlgorithm.documentspublic List<Cluster> clusters()
LingoClusteringAlgorithm.clusterspublic LingoClusteringAlgorithmDescriptor.AttributeBuilder scoreWeight(double value)
LingoClusteringAlgorithm.scoreWeightpublic LingoClusteringAlgorithmDescriptor.AttributeBuilder desiredClusterCountBase(int value)
public CompletePreprocessingPipelineDescriptor.AttributeBuilder preprocessingPipeline()
CompletePreprocessingPipeline component, backed by the same attribute map
as the current builder.public TermDocumentMatrixBuilderDescriptor.AttributeBuilder matrixBuilder()
TermDocumentMatrixBuilder component, backed by the same attribute map
as the current builder.public TermDocumentMatrixReducerDescriptor.AttributeBuilder matrixReducer()
TermDocumentMatrixReducer component, backed by the same attribute map
as the current builder.public ClusterBuilderDescriptor.AttributeBuilder clusterBuilder()
ClusterBuilder component, backed by the same attribute map
as the current builder.public LabelFormatterDescriptor.AttributeBuilder labelFormatter()
LabelFormatter 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.