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