load_fasttext | R Documentation |
Load similarity information from a fasttext model
load_fasttext(filename, corpus = null, n = 10000)
filename |
a filename pointing to a fasttext .bin model |
corpus |
an optional corpus to use for word frequency information. if given, should be a quanteda corpus, dfm or data frame with word and frequency as first two columns |
a list with a nxn similarity matrix and a frequency data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.