Package opennlp.tools.util.wordvector

# Interface WordVector

@Experimental public interface WordVector
A word vector.

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `dimension()`
  `double`
  `getAsDouble(int index)`
  `float`
  `getAsFloat(int index)`
  `WordVectorType`
  `getDataType()`
  `DoubleBuffer`
  `toDoubleBuffer()`
  `FloatBuffer`
  `toFloatBuffer()`

- ## Method Details

  - ### getDataType

    WordVectorType getDataType()

  - ### getAsFloat

    float getAsFloat(int index)

  - ### getAsDouble

    double getAsDouble(int index)

  - ### toFloatBuffer

    FloatBuffer toFloatBuffer()

  - ### toDoubleBuffer

    DoubleBuffer toDoubleBuffer()

  - ### dimension

    int dimension()