public interface WordspaceI
Modifier and Type | Method and Description |
---|---|
void |
addWordVector(String word,
Vector vector)
Stores the vector associated to a word.
|
char[][] |
getDictionaryDanilo()
Returns the complete set of words in the vocabulary (words having an associated vector in this wordspace)
|
Vector |
getVector(String word)
Returns the vector associated to the given word
|
Vector |
getZeroVector()
Returns the zero vector in the wordspace, i.e, a zero vector having the worspace dimensionality
|
void addWordVector(String word, Vector vector)
getVector
word
- the wordvector
- the vector associated to word
Vector getVector(String word)
word
- the word whose corresponding vector must be retrievedword
, null if word
is not in the vocabulary of this wordspaceVector getZeroVector()
char[][] getDictionaryDanilo()
Copyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.