Skip to content
New issue

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

Is it possible to generate a word? #59

Closed
tokestermw opened this issue Jun 14, 2016 · 1 comment
Closed

Is it possible to generate a word? #59

tokestermw opened this issue Jun 14, 2016 · 1 comment

Comments

@tokestermw
Copy link

Hi, I was wondering if there was a way to access the probability of the next word in a sentence.

@kpu
Copy link
Owner

kpu commented Jun 14, 2016

The data structures are a reverse trie so it is not efficient to do so. You of course are free to do a for loop over the vocabulary. Wasn't really planning to fix this, but would welcome a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants