Fork of an old revision of https://code.google.com/p/chromium-compact-language-detector/