Class DictionaryDetokenizer
java.lang.Object
opennlp.tools.tokenize.DictionaryDetokenizer
- All Implemented Interfaces:
opennlp.tools.tokenize.Detokenizer
A rule based detokenizer. Simple rules which indicate in which direction a token should be
moved are looked up in a
dictionary.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface opennlp.tools.tokenize.Detokenizer
opennlp.tools.tokenize.Detokenizer.DetokenizationOperation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionopennlp.tools.tokenize.Detokenizer.DetokenizationOperation[]detokenize(String[] tokens) detokenize(String[] tokens, String splitMarker)
-
Constructor Details
-
DictionaryDetokenizer
Initializes aDictionaryDetokenizerinstance.- Parameters:
dict- TheDetokenizationDictionaryto be used.
-
-
Method Details
-
detokenize
- Specified by:
detokenizein interfaceopennlp.tools.tokenize.Detokenizer
-
detokenize
-