Class Glove
java.lang.Object
opennlp.tools.util.wordvector.Glove
-
Method Summary
Modifier and TypeMethodDescriptionstatic opennlp.tools.util.wordvector.WordVectorTableparse(InputStream in) Parses a glove vector plain text file.
-
Method Details
-
parse
@Experimental public static opennlp.tools.util.wordvector.WordVectorTable parse(InputStream in) throws IOException Parses a glove vector plain text file.- Parameters:
in- A valid, openInputStreamto Glove vectors from.- Returns:
- A Glove based
WordVectorTable, guaranteed to be nonnull. - Throws:
IOException- if any error occurs during parsing
-