mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
The project fastlangid has a FastText model to achieve higher accuracy for Japanese, Korean, Chinese languages. This commits includes the model from this project, and change searx.utils.detect_language to rely on that model as a second stage. The model is lazy loaded when the base model detect Japanese, Korean or Chinese. https://github.com/currentslab/fastlangid
386 KiB
386 KiB