bert icon indicating copy to clipboard operation
bert copied to clipboard

Incorrect description in multilingual.md

Open taku910 opened this issue 8 years ago • 1 comments

This document says that:

The only language which we had to unfortunately exclude was Thai, since it is the only language (other than Chinese) that does not use whitespace to delimit words, and it has too many characters-per-word to use character-based tokenization. Our WordPiece algorithm is quadratic with respect to the size of the input token so very long character strings do not work with it.

Japanese and Korean are also the languages that do not use whitespace for word boundary. It would be better to update this description. In addition, to keep consistency, we might want to either 1) exclude them like Thai. 2) apply character-based segmentation like Chinese characters.

By the way, SentencePiece algorithm is O(n). It works on very long strings.

taku910 avatar Nov 16 '18 17:11 taku910

I also updated the README to include clarify this. The new release also includes Thai.

jacobdevlin-google avatar Nov 24 '18 01:11 jacobdevlin-google