@Experimental public interface WordVector
Warning: Experimental new feature, see OPENNLP-1144 for details, the API might be changed anytime.
Modifier and Type | Method and Description |
---|---|
int |
dimension() |
double |
getAsDouble(int index) |
float |
getAsFloat(int index) |
WordVectorType |
getDataType() |
double[] |
toDoubleArray() |
DoubleBuffer |
toDoubleBuffer() |
float[] |
toFloatArray() |
FloatBuffer |
toFloatBuffer() |
WordVectorType getDataType()
float getAsFloat(int index)
double getAsDouble(int index)
float[] toFloatArray()
double[] toDoubleArray()
FloatBuffer toFloatBuffer()
DoubleBuffer toDoubleBuffer()
int dimension()
Copyright © 2017 The Apache Software Foundation. All rights reserved.