bert
bert copied to clipboard
Japanese voice sound mark is not an accent mark.
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.
See #138