Multiple language detection using python

Опубликовано: 16 Май 2020
на канале: Technology Hub
6,631
55

In this example, we can see the code snippet for detecting (multiple) languages on given input sentence. Here I am using langdetect python library for detecting the languages.

langdetect is one derived from Google language detection. As of now langdetect library detects 55 languages by calling simple function "detect". It will return the language code.

It is very fast
Pre-trained over a large number of languages (currently 55)
Single langdetect library file with minimal dependencies
Deployable as a web service
Plase find the demo here - https://github.com/prabhakar2020/Mult...

Source code GitHub URL - https://github.com/prabhakar2020/Mult...