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
IOException
InvalidFormatException
public void serialize(OutputStream out) throws IOException
IOException
Copyright © 2015 The Apache Software Foundation. All rights reserved.