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

getTokenizer should have LRU cache too #13

Open
azu opened this issue Dec 12, 2021 · 0 comments
Open

getTokenizer should have LRU cache too #13

azu opened this issue Dec 12, 2021 · 0 comments
Labels
Status: Proposal Request for comments

Comments

@azu
Copy link
Owner

azu commented Dec 12, 2021

From textlint-ja/textlint-rule-max-ten#16 (comment)

Currently, getToknizer just return kuromoji.js object.
Instead of it, we want to wrap the tokenize and tokenizeSentence with LRU cache.

cc @k-tahiro

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

No branches or pull requests

1 participant