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