get_neighbors: Retrieve the most closest vector representation
Description
Use Annoy to rapidly retrieve the n
most closest representation of a text.
Usage
get_neighbors(word, dict, annoy_model, n, search_k)
Arguments
n
number of elements to retrieve
search_k
number of nodes to search in (Annoy parameter). Higher is better and slower.