Package org.carrot2.clustering
Interface Document
-
public interface Document
A representation of a single document for clustering. The document must provide named fields to a clustering algorithm. The fields are only required once, so any content may be cleared after the visitor returns.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
visitFields(BiConsumer<String,String> fieldConsumer)
An implementation of this method must presentfieldConsumer
with each field's name and its corresponding value.
-
-
-
Method Detail
-
visitFields
void visitFields(BiConsumer<String,String> fieldConsumer)
An implementation of this method must presentfieldConsumer
with each field's name and its corresponding value. The same field can be presented more than once if it has multiple values.
-
-