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 Details

    • getDataType

      WordVectorType getDataType()
    • getAsFloat

      float getAsFloat(int index)
    • getAsDouble

      double getAsDouble(int index)
    • toFloatBuffer

      FloatBuffer toFloatBuffer()
    • toDoubleBuffer

      DoubleBuffer toDoubleBuffer()
    • dimension

      int dimension()