public class ContextLabelRetriever extends Object
Modifier and Type | Method and Description |
---|---|
static org.deeplearning4j.berkeley.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 org.deeplearning4j.berkeley.Pair<String,MultiDimensionalMap<Integer,Integer,String>> stringWithLabels(String sentence, TokenizerFactory tokenizerFactory)
sentence
- the sentence to processCopyright © 2017. All rights reserved.