public class WordClusterDictionary extends java.lang.Object implements SerializableArtifact
Modifier and Type | Class and Description |
---|---|
static class |
WordClusterDictionary.WordClusterDictionarySerializer |
Constructor and Description |
---|
WordClusterDictionary(java.io.InputStream in)
Read word2vec and clark clustering style lexicons.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getArtifactSerializerClass()
Retrieves the class which can serialize and recreate this artifact.
|
java.lang.String |
lookupToken(java.lang.String string) |
void |
serialize(java.io.OutputStream out) |
public WordClusterDictionary(java.io.InputStream in) throws java.io.IOException
in
- the inputstreamjava.io.IOException
- the io exceptionpublic java.lang.String lookupToken(java.lang.String string)
public void serialize(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public java.lang.Class<?> getArtifactSerializerClass()
SerializableArtifact
getArtifactSerializerClass
in interface SerializableArtifact
Copyright © 2010 - 2020 Adobe. All Rights Reserved