|
Carrot2 Framework
API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Cluster
A cluster object holds a list of TokenizedDocument references and
possibly a list of sub-clusters.
Classes marked with this interface form clusers of tokenized
documents. See carrot2-tokenizer component for details.
A cluster may have additional name-value properties available via getProperty(String) method.
| Method Summary | |
|---|---|
List |
getClusterDescription()
Returns phrases denoting this cluster's description. |
List |
getDocuments()
|
Object |
getProperty(String propertyName)
Returns a named property of this cluster. |
List |
getSubclusters()
|
Object |
setProperty(String propertyName,
Object value)
Sets a value for a named property in this cluster. |
| Method Detail |
|---|
List getClusterDescription()
TokenSequence.List getSubclusters()
Cluster.List getDocuments()
TokenizedDocument.Object getProperty(String propertyName)
propertyName - Name of the property to retrieve.
null if this property
is not available for this cluster.
Object setProperty(String propertyName,
Object value)
propertyName - Name of the property to set.value - The new value of the property.
null.
|
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 | ||||||||