Package opennlp.tools.tokenize
Interface TokenContextGenerator
- All Known Implementing Classes:
 DefaultTokenContextGenerator
public interface TokenContextGenerator
Interface for context generators required for 
TokenizerME.- 
Method Summary
 
- 
Method Details
- 
getContext
- Parameters:
 sentence- The string that represents a sentence.index- The index to consider splitting tokens.- Returns:
 - An array of features for a 
sentenceat the specifiedindex. 
 
 -