|
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.text.preprocessing.PreprocessingContext.AllLabels
public class PreprocessingContext.AllLabels
Information about words and phrases that might be good cluster label candidates. Each entry in each array corresponds to one label candidate.
All arrays in this class have the same length and values across different arrays correspond to each other for the same index.
| Field Summary | |
|---|---|
com.carrotsearch.hppc.BitSet[] |
documentIndices
Indices of documents assigned to the label candidate. |
int[] |
featureIndex
Feature index of the label candidate. |
int |
firstPhraseIndex
The first index in featureIndex which
points to PreprocessingContext.AllPhrases, or -1 if there are no phrases
in featureIndex. |
| Constructor Summary | |
|---|---|
PreprocessingContext.AllLabels()
|
|
| Method Summary | |
|---|---|
String |
toString()
For debugging purposes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int[] featureIndex
PreprocessingContext.AllWords arrays are single word features and point to entries
in PreprocessingContext.AllWords. Features whose values are larger or equal to the size of
PreprocessingContext.AllWords, after subtracting the size of PreprocessingContext.AllWords, point to
PreprocessingContext.AllPhrases.
This array is produced by LabelFilterProcessor.
public com.carrotsearch.hppc.BitSet[] documentIndices
This array is produced by DocumentAssigner.
public int firstPhraseIndex
featureIndex which
points to PreprocessingContext.AllPhrases, or -1 if there are no phrases
in featureIndex.
This value is set by LabelFilterProcessor.
featureIndex| Constructor Detail |
|---|
public PreprocessingContext.AllLabels()
| Method Detail |
|---|
public String toString()
toString in class Object
|
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 | ||||||||