public static class ByUrlClusteringAlgorithmDescriptor.AttributeBuilder extends Object
ByUrlClusteringAlgorithm 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 |
ByUrlClusteringAlgorithmDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.
|
| Modifier and Type | Method and Description |
|---|---|
List<Cluster> |
clusters()
Clusters created by the algorithm.
|
ByUrlClusteringAlgorithmDescriptor.AttributeBuilder |
documents(org.carrot2.util.attribute.IObjectFactory<? extends List<Document>> value)
Documents to cluster.
|
ByUrlClusteringAlgorithmDescriptor.AttributeBuilder |
documents(List<Document> value)
Documents to cluster.
|
public ByUrlClusteringAlgorithmDescriptor.AttributeBuilder documents(List<Document> value)
ByUrlClusteringAlgorithm.documentspublic ByUrlClusteringAlgorithmDescriptor.AttributeBuilder documents(org.carrot2.util.attribute.IObjectFactory<? extends List<Document>> value)
ByUrlClusteringAlgorithm.documentspublic List<Cluster> clusters()
ByUrlClusteringAlgorithm.clusters