Skip to content

Support for continuous script languages #33

@xamgore

Description

@xamgore
  1. Original repo doesn't provide configurable min_term_length (see this issue) and it is hardcoded as 3 here. We need it especially for continuous script languages, like Japanese, Chinese and Thai, where one symbol can represent one word.

  2. Japanese language has words with symbols in the end, like コンピューター (computer), テレビー (television), ツイッター (twitter) and so on. Yake uses web_tokenizer() from segtok.tokenizer which separates in the end. So for continuous script languages we apply tokenization explicitly before passing text to Yake and introduce condition where tokenizer in Yake only splits words by space.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions