Package opennlp.tools.tokenize
Schnittstelle TokenContextGenerator
- Alle bekannten Implementierungsklassen:
DefaultTokenContextGenerator
public interface TokenContextGenerator
Interface for context generators required for
TokenizerME.-
Methodenübersicht
-
Methodendetails
-
getContext
- Parameter:
sentence- The string that represents a sentence.index- The index to consider splitting tokens.- Gibt zurück:
- An array of features for a
sentenceat the specifiedindex.
-