How to detect language of text?

前端 未结 5 568
醉梦人生
醉梦人生 2020-12-14 20:50

I have a form which lets users input text snippets. So how can figure out the language of the entered text?

Specifically these languages for now:

Arabic: هذه

5条回答
  •  渐次进展
    2020-12-14 21:07

    You could use the Google Ajax API for detecting the language of a snippet of text.

提交回复
热议问题