Use RcppAnnoy to rapidly retrieve the n
most closest representation of a text.
1 2 | get_neighbors_from_free_text(text, annoy_model, n, search_k,
projector_instance)
|
text |
character containing the text searched. |
annoy_model |
RcppAnnoy model |
n |
top n elements to retrieve |
search_k |
number of nodes to search in (RcppAnnoy parameter). Higher is better (and slower). |
projector_instance |
an instance of projector tool generated by get_projector_instance |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.