|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.clustering.lingo.LingoClusteringAlgorithmDescriptor.AttributeBuilder
public static class LingoClusteringAlgorithmDescriptor.AttributeBuilder
Attribute map builder for the LingoClusteringAlgorithm 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 |
LingoClusteringAlgorithmDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map. |
| Method Summary | |
|---|---|
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. |
| 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 LingoClusteringAlgorithmDescriptor.AttributeBuilder(Map<String,Object> map)
| Method Detail |
|---|
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)
LingoClusteringAlgorithm.desiredClusterCountBasepublic 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.
|
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 | ||||||||