Package opennlp.tools.util.wordvector
Class Glove
- java.lang.Object
-
- opennlp.tools.util.wordvector.Glove
-
@Experimental public class Glove extends Object
Warning: Experimental new feature, see OPENNLP-1144 for details, the API might be changed anytime.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WordVectorTable
parse(InputStream in)
Parses a glove vector plain text file.
-
-
-
Method Detail
-
parse
@Experimental public static WordVectorTable parse(InputStream in) throws IOException
Parses a glove vector plain text file.Warning: Experimental new feature, see OPENNLP-1144 for details, the API might be changed anytime.
- Parameters:
in
- the input stream for Glove vectors- Returns:
- a Glove based wv table
- Throws:
IOException
- if any error occurs during parsing
-
-