wooorm/franc
View on GitHub ↗ ★ 4,420 JavaScript
Natural language detection
5 mentions on Hacker News by 4 people: 2 stories, 3 comments · first 2014-10-03 · latest 2017-03-10
20082026
-
Franc seems to work well on longer passages. Such as these: https://github.com/wooorm/franc/blob/master/spec/fixtures.js... It’s interesting though, I’ll take a look at it!
comment by wooorm · 2014-10-03 · in Show HN: Franc – Detect natural languages -
The supported languages file ( https://github.com/wooorm/franc/blob/master/Supported-Langua... ) lists Matu Chin as having 182,000,000 speakers. Having never heard of it this surprised me, but the Wikipedia page for it (…
comment by robin_reala · 2014-10-03 · in Show HN: Franc – Detect natural languages -
…2-sec look at the code, it's using a built-in database of trigrams as a predictor of the language. https://github.com/wooorm/franc/blob/master/lib/data.json
comment by hywel · 2014-10-03 · in Show HN: Franc – Detect natural languages