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