# fastText language identification experiment

Original unmodified Facebook fastText lid.176.ftz, 938013 bytes.
SHA-256: 8f3472cfe8738a7b6099e8e999c3cbfae0dcd15696aac7d7738a8039db603e83
Model source: https://fasttext.cc/docs/en/language-identification.html
Download: https://dl.fbaipublicfiles.com/fasttext/supervised-models/lid.176.ftz
Model license: Creative Commons Attribution-ShareAlike 3.0 (CC BY-SA 3.0), https://creativecommons.org/licenses/by-sa/3.0/ . Trained by Facebook fastText on Wikipedia, Tatoeba and SETimes. No model training or modification in this app. This is not a differently licensed Hugging Face facebook model.

References: Armand Joulin, Edouard Grave, Piotr Bojanowski and Tomas Mikolov, Bag of Tricks for Efficient Text Classification (2016), https://arxiv.org/abs/1607.01759 ; Armand Joulin, Edouard Grave, Piotr Bojanowski, Matthijs Douze, Hérve Jégou and Tomas Mikolov, FastText.zip: Compressing text classification models (2016), https://arxiv.org/abs/1612.03651 .

The inference-only Java format reader/math is adapted from the MIT-licensed Facebook fastText v0.9.2 reference algorithm, copyright (c) 2016-present Facebook, Inc. Full MIT text: fastText-MIT.txt. Source: https://github.com/facebookresearch/fastText/tree/v0.9.2/src . Model and runtime licenses are distinct. The surrounding app integration retains its existing GPL-3.0-or-later license.

Model inference is local Java math in the Android service, independent of WebView activity. No user-message cache, remote inference call, training, JNI or runtime executable download is introduced. This is an optional private experiment. It does not change ML Kit translation language identification.
