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
|
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 wordspacechar[][] getDictionaryDanilo()
Copyright © 2015 Semantic Analytics Group @ Uniroma2. All rights reserved.