bert icon indicating copy to clipboard operation
bert copied to clipboard

Japanese voice sound mark is not an accent mark.

Open taku910 opened this issue 8 years ago • 1 comments

Thank you for the great work.

It seems that multilingual models remove the Japanese voiced sound marks (dakuten/handakuten) with strip_accents function. These marks should not be removed. They completely change the meaning.

e.g. パンダ (panda) vs ハンダ (solder) かぎ (key) vs かき(oyster)

In general, using NFD normalization brings lots of troubles. When tokenizing decomposed character sequence into multiple pieces, we may break the original meaning of the character.

taku910 avatar Nov 16 '18 08:11 taku910

See #138

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