How to detect language

后端 未结 7 1884
你的背包
你的背包 2020-12-28 21:18

Are there any good, open source engines out there for detecting what language a text is in, perhaps with a probability metric? One that I can run locally and doesn\'t query

7条回答
  •  太阳男子
    2020-12-28 21:41

    Check out Franc on Github. It's written in JavaScript, so you could use in a browser and maybe in Node too.

    • franc supports more languages than any other library, or Google;
    • franc is easily forked to support 335 languages; franc is just as
    • fast as the competition.

提交回复
热议问题