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