get_neighbors

0th

Percentile

Retrieve the most closest vector representation

Use Annoy to rapidly retrieve the n most closest representation of a text.

Keywords
internal
Usage
get_neighbors(word, dict, annoy_model, n, search_k)
Arguments
word

character containing the pivot word

dict

character containing all possible texts

annoy_model

RcppAnnoy model

n

number of elements to retrieve

search_k

number of nodes to search in (Annoy parameter). Higher is better and slower.

Aliases
  • get_neighbors
Documentation reproduced from package projector, version 0.0.2, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.