@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() |
DoubleBuffer |
toDoubleBuffer() |
FloatBuffer |
toFloatBuffer() |
WordVectorType getDataType()
float getAsFloat(int index)
double getAsDouble(int index)
FloatBuffer toFloatBuffer()
DoubleBuffer toDoubleBuffer()
int dimension()
Copyright © 2018 The Apache Software Foundation. All rights reserved.