Skip to content

Vocabulary file handling #57

Description

@mh-northlander

JapaneseWordPieceTokenizer which we use to build the vocabulary recognizes '\n' (or ' ') as a token.
BertSudachipyTokenizer however removes them from the tokenization results.
Currently we just ignore those tokens (and problems caused by that (#54)).

  1. We may need some error handling on the vocab file corruption.

  2. It maybe better to make those tokens used.
    In this case we need to prepare a new vocab file format (current txt format cannot handle '\n').
    We also need to modify chiTra tokenizer, and reconsider the corpus cleaning processes relating to those tokens.

  3. In the case we do not use those tokens, we should remove them during vocab building.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions