Package opennlp.tools.tokenize
Class DetokenizationDictionary
java.lang.Object
opennlp.tools.tokenize.DetokenizationDictionary
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDetokenizationDictionary(File file) DetokenizationDictionary(String[] tokens, DetokenizationDictionary.Operation[] operations) Initializes the current instance. -
Method Summary
-
Constructor Details
-
DetokenizationDictionary
Initializes the current instance.- Parameters:
tokens- an array of tokens that should be detokenized according to an operationoperations- an array of operations which specifies which operation should be used for the provided tokens
-
DetokenizationDictionary
- Throws:
IOException
-
DetokenizationDictionary
- Throws:
IOException
-
-
Method Details
-
serialize
- Throws:
IOException
-