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

Speed and memory enhancement #2

Open
apmoore1 opened this issue Sep 27, 2021 · 2 comments
Open

Speed and memory enhancement #2

apmoore1 opened this issue Sep 27, 2021 · 2 comments
Labels
enhancement New feature or request low priority Low priority issue

Comments

@apmoore1
Copy link
Member

For the lexicon lookup it might be worth looking into a trie data structure, this was used as a multi word lexicon lookup in the skweak project.

@apmoore1 apmoore1 added enhancement New feature or request low priority Low priority issue labels Sep 27, 2021
@apmoore1
Copy link
Member Author

apmoore1 commented Oct 3, 2021

This would be best suited as perhaps a replacement to the LexiconCollection class.

@apmoore1
Copy link
Member Author

apmoore1 commented Feb 7, 2022

If any of the Lexicon Collections use the same string key for a dictionary it might be useful to use a String Store from the spaCy project, whereby the String Store is a dictionary mapping between a String and it's hash value. The String Store can also be used in a trie data structure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority Low priority issue
Projects
None yet
Development

No branches or pull requests

1 participant