WordVectorTable (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

opennlp.tools.util.wordvector

## Interface WordVectorTable

-     @Experimental
      public interface WordVectorTable

  A table that maps tokens to word vectors.

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

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `dimension()`
    `WordVector` | `get(String token)`
    `int` | `size()`
    `Iterator<String>` | `tokens()`

- - ### Method Detail

    - #### get

          WordVector get(String token)

    - #### tokens

          Iterator<String> tokens()

    - #### size

          int size()

    - #### dimension

          int dimension()

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