public static class Dictionary.DictionarySerializer extends Object implements opennlp.tools.util.model.ArtifactSerializer<Dictionary>
| Constructor and Description |
|---|
DictionarySerializer() |
| Modifier and Type | Method and Description |
|---|---|
Dictionary |
create(InputStream in) |
void |
serialize(Dictionary artifact,
OutputStream out) |
public Dictionary create(InputStream in) throws IOException, opennlp.tools.util.InvalidFormatException
create in interface opennlp.tools.util.model.ArtifactSerializer<Dictionary>IOExceptionopennlp.tools.util.InvalidFormatExceptionpublic void serialize(Dictionary artifact, OutputStream out) throws IOException
serialize in interface opennlp.tools.util.model.ArtifactSerializer<Dictionary>IOExceptionCopyright © 2017 IXA pipes. All rights reserved.