Find the k words with the smallest distance.
First execution can be slow because of precomputation.
Search is done linearly, if your model is big you may want to use an approximate neighbour algorithm from other R packages (like RcppAnnoy).
Usage
get_nn(model, word, k)
Arguments
model
trained fastText model. Null if train a new model.