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

dynamic Dictionary #27

Closed
piskvorky opened this issue Apr 22, 2011 · 1 comment
Closed

dynamic Dictionary #27

piskvorky opened this issue Apr 22, 2011 · 1 comment

Comments

@piskvorky
Copy link
Owner

When adding new document via Dictionary.addDocuments(), the id2token cache is not updated. token2id may get new ids and new words, but id2token stays the same.

Update id2token to be in sync with token2id whenever it's requested.

@piskvorky
Copy link
Owner Author

Fixed in commit b88225c .

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

1 participant