get_neighbors_from_text: Retrieve the most closest vector representation of an indexed...

Description Usage Arguments

Description

Use RcppAnnoy to rapidly retrieve the n most closest representation of a text. The text has to be already indexed in RcppAnnoy. If it is not the case, use get_neighbors_from_free_text.

Usage

1
get_neighbors_from_text(text, annoy_model, n, search_k)

Arguments

text

character containing the pivot text

annoy_model

RcppAnnoy model

n

number of elements to retrieve

search_k

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


pommedeterresautee/projector documentation built on May 5, 2019, 1:38 p.m.