bert icon indicating copy to clipboard operation
bert copied to clipboard

Japanese words consist of Hiragana and Chinese characters (Kanji)

Open taku910 opened this issue 8 years ago • 1 comments

Thank you for the great work.

The tokenizer for multilingual models put whitespaces around Chinese characters (Kanji), but this treatment will unintentionally break the Japanese words consisting of Hiragana and Kanji.

Many Japanese words (especially verb and adjective) are written in the combination of Hiragana and Kanji. It is okay that arbitrary subword algorithms split them into subwords with a certain statistics, but "forced" segmentation would have a negative impact.

taku910 avatar Nov 16 '18 12:11 taku910

See #138

jacobdevlin-google avatar Nov 17 '18 18:11 jacobdevlin-google