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