A simple lightweight alternative API for language detection. It has compatible API route with LibreTranslate "/detect".

https://github.com/atrifat/language-detector-api

#OpenSource #Python

Reply to this note

Please Login to reply.

Discussion

The API use same "langdetect" Python library but without including unused big translation models of LibreTranslate. Alternative faster "fast_langdetect" library can also be used by setting environment variable at startup.

#NostrFilterRelay admins/operators can also use this as their LibreTranslate alternative instance.