public class DetokenizationDictionary extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DetokenizationDictionary.Operation |
| Constructor and Description |
|---|
DetokenizationDictionary(InputStream in) |
DetokenizationDictionary(String[] tokens,
DetokenizationDictionary.Operation[] operations)
Initializes the current instance.
|
public DetokenizationDictionary(String[] tokens, DetokenizationDictionary.Operation[] operations)
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 tokenspublic DetokenizationDictionary(InputStream in) throws IOException, InvalidFormatException
IOExceptionInvalidFormatExceptionpublic void serialize(OutputStream out) throws IOException
IOExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.