4 ms·
Yes [0]: > Chrome uses CLD3 to perform language detection on all webpages. This language detection is generally very accurate. Chrome will override the languag
by sergeykish 7y ago
Yes [0]:
> Chrome uses CLD3 to perform language detection on all webpages. This language detection is generally very accurate. Chrome will override the language detection if there is a language attribute on the HTML tag or a language specified in the HTTP content-language header.
> However, both these signals are often incorrectly specified by the site/page, and in particular many non-English sites report the language as English (presumably based on default values from authoring tools, etc.) Currently a whitelist is used to determine if the detected language should always override the language attribute / content-language.
Compact Language Detector v3 (CLD3) is a neural network model for language identification [1]. Sometimes it fails [2].
[0] https://bugs.chromium.org/p/chromium/issues/detail?id=771861 https://bugs.chromium.org/p/chromium/issues/detail?id=771861
[1] https://github.com/google/cld3 https://github.com/google/cld3
[2] https://bugs.chromium.org/p/chromium/issues/detail?id=1059237 https://bugs.chromium.org/p/chromium/issues/detail?id=105923...