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 and Description
    --- | ---
    `static WordVectorTable` | `parse(InputStream in)` Parses a glove vector plain text file.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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

Copyright © 2026 The Apache Software Foundation. All rights reserved.