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