Why not use language detection? TextBlob and Polyglot come to mind.
https://textblob.readthedocs.io/en/dev/api_reference.html#textblob.blob.BaseBlob.detect_language
https://polyglot.readthedocs.io/en/latest/Installation.html
js: https://www.npmjs.com/package/languagedetect
Please Login to reply.
No replies yet.