fasttext {fastTextR} | R Documentation |
Train a new word representation model or supervised classification model.
fasttext(input, method = c("supervised", "cbow", "skipgram"), control = ft.control())
input |
a character string giving the location of the input file. |
method |
a character string giving the method, possible values are
|
control |
a list giving the control variables, for more information
see |
## Not run: model <- fasttext("my_data.txt", method="supervised", control = ft.control(nthreads = 1L)) ## End(Not run)