Not being prompted for translation on Chrome Linux |
|||||||
Issue descriptionChrome Version: 55.0.2883.87 OS: Linux What steps will reproduce the problem? (1) Open baidu.com What is the expected result? See prompt for translation. What happens instead? See no prompt for translation (see screenshot)
,
Jan 11 2017
Just repro'ed it myself. Language detection logs attached. Basically the language detector classifies baidu.com as "not detectable". That's likely a known issue in CLD3. abakalov@ is aware of the root cause (char/unsigned char) and working on a fix.
,
Jan 16 2017
Thanks for reporting this. CLD2 and CLD3 process input by first splitting based on script and then making a prediction for each resulting substring independently. For the baidu.com case, this leads to having several short snippets in Chinese and English (e.g., "About Baidu"). Both CLD2 and CLD3 find short text challenging, so we decided to introduce a length threshold. All of the substrings in baidu.com’s case are below this threshold, so the model predicts "unknown". There are ways of relaxing this constraint: 1) consider the predictions for short pieces of text as well if the probability is above a strict threshold 2) extend the model to capture the case that if we have input text containing the strings X, Y, and Z (where, for example, X and Z are in Hani script and Y is a very short text in Latin script), then most likely X and Z are in the same language and Y is a name (e.g., "Baidu"). To be on the safe side, I personally prefer to make the CLD2/CLD3 switch with the current version of the model, and address cases challenging to both CLD2 and CLD3 in the following release. Please let me know if you think otherwise.
,
Apr 14 2017
,
Apr 14 2017
,
Apr 27 2017
,
Jun 13 2017
Issue 732364 has been merged into this issue.
,
May 1 2018
,
May 20 2018
Issue 817119 has been merged into this issue. |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by yyushkina@chromium.org
, Jan 11 2017