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