Class Glove

Namespace
NOpenNLP.Tools.Util.Wordvector
Assembly
NOpenNLP.Tools.dll

Parses Glove word vector files.

Warning: Experimental new feature, see OPENNLP-1144 for details, the API might be changed anytime.

[Experimental("NONLPEXP0001")]
public static class Glove
Inheritance
Glove
Inherited Members

Methods

Parse(Stream)

Parses a glove vector plain text file.

Warning: Experimental new feature, see OPENNLP-1144 for details, the API might be changed anytime.

public static IWordVectorTable Parse(Stream @in)

Parameters

in Stream

The input stream for Glove vectors.

Returns

IWordVectorTable

A Glove based wv table.

Exceptions

IOException

Thrown if any error occurs during parsing.