Skip to content

getTokenizer should have LRU cache too #13

Description

@azu

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions