Description Usage Arguments Value Examples
Gets closest analogy to the searched word
1 | word_analogy(file_name, search_words, num = 20)
|
file_name |
trained data file name (MUST be binary) |
num |
number of closest words |
search_words |
search keywords |
data frame giving closest analogy and cosine distances
1 2 3 4 | ## Not run:
ana=word_analogy("vec.bin","king queen man",20)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.