Package opennlp.tools.util.featuregen
Klasse WordClusterDictionary
java.lang.Object
opennlp.tools.util.featuregen.WordClusterDictionary
- Alle implementierten Schnittstellen:
SerializableArtifact
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungRead word2vec and clark clustering style lexicons. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungClass<?> Retrieves the class which can serialize and recreate this artifact.lookupToken(String string) voidserialize(OutputStream out)
-
Konstruktordetails
-
WordClusterDictionary
Read word2vec and clark clustering style lexicons.- Parameter:
in- theInputStreamto read from.- Löst aus:
IOException- Thrown if IO errors occurred during read.
-
-
Methodendetails
-
lookupToken
-
serialize
- Löst aus:
IOException
-
getArtifactSerializerClass
Beschreibung aus Schnittstelle kopiert:SerializableArtifactRetrieves the class which can serialize and recreate this artifact.Note: The serializer class must have a
public zero argument constructoror an exception is thrown during model serialization/loading.- Angegeben von:
getArtifactSerializerClassin SchnittstelleSerializableArtifact- Gibt zurück:
- The corresponding
ArtifactSerializerclass.
-