public interface TokenContextGenerator
TokenizerME
context generators.Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getContext(java.lang.String sentence,
int index)
Returns an array of features for the specified sentence string at the specified index.
|
java.lang.String[] getContext(java.lang.String sentence, int index)
sentence
- The string for a sentence.index
- The index to consider splitting as a token.Copyright © 2010 - 2020 Adobe. All Rights Reserved