We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In my execute, I'm able to easily tell fastRtext to use bigrams, per the instructions/commands for fasttext:
execute( commands = c( "skipgram", "-input", tmp_file_txt, "-output", tmp_file_model, "-verbose", 1, "-wordNgrams", 2 ) )
However, to get bigrams out that are space-separated, I'm not sure how to do that with the get_nn function, and it's not in the documentation:
nndf <- as.data.frame(get_nn(model, term, 250))
Thus I end up with messy bigrams in the DF. Any way to force get_nn to return space-separated bigrams?
The text was updated successfully, but these errors were encountered:
What do you need to extract ? I am not sure to understand.
Sorry, something went wrong.
No branches or pull requests
In my execute, I'm able to easily tell fastRtext to use bigrams, per the instructions/commands for fasttext:
However, to get bigrams out that are space-separated, I'm not sure how to do that with the get_nn function, and it's not in the documentation:
nndf <- as.data.frame(get_nn(model, term, 250))
Thus I end up with messy bigrams in the DF. Any way to force get_nn to return space-separated bigrams?
The text was updated successfully, but these errors were encountered: