public class ContextLabelRetriever
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Pair<java.lang.String,MultiDimensionalMap<java.lang.Integer,java.lang.Integer,java.lang.String>> |
stringWithLabels(java.lang.String sentence,
TokenizerFactory tokenizerFactory)
Returns a stripped sentence with the indices of words
with certain kinds of labels.
|
public static Pair<java.lang.String,MultiDimensionalMap<java.lang.Integer,java.lang.Integer,java.lang.String>> stringWithLabels(java.lang.String sentence, TokenizerFactory tokenizerFactory)
sentence
- the sentence to process