public interface TokenContextGenerator
TokenizerME context generators.| Modifier and Type | Method and Description |
|---|---|
String[] |
getContext(String sentence,
int index)
Returns an array of features for the specified sentence string at the specified index.
|
String[] getContext(String sentence, int index)
sentence - The string for a sentence.index - The index to consider splitting as a token.Copyright © 2017 The Apache Software Foundation. All rights reserved.