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