Package opennlp.tools.util.wordvector
Klasse Glove
java.lang.Object
opennlp.tools.util.wordvector.Glove
GloVe is an unsupervised learning algorithm for obtaining vector representations for words.
Details are found on this web site.
Warning: Experimental new feature, see OPENNLP-1144 for details, the API might be changed anytime.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic WordVectorTable
parse
(InputStream in) Parses a glove vector plain text file.
-
Methodendetails
-
parse
Parses a glove vector plain text file.- Parameter:
in
- A valid, openInputStream
to Glove vectors from.- Gibt zurück:
- A Glove based
WordVectorTable
, guaranteed to be nonnull
. - Löst aus:
IOException
- if any error occurs during parsing
-