You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -35,11 +36,11 @@ Let's now compare those libraries per language
35
36
36
37
#### Recommended
37
38
38
-
- For **NodeJS**: `TinyLD` or `node-cld` (fast and accurate)
39
+
- For **NodeJS**: `TinyLD`, `langdetect` or `node-cld` (fast and accurate)
39
40
- For **Browser**: `TinyLD Light` or `franc-min` (small, decent accuracy, franc is less accurate but support more languages)
40
41
41
42
#### Not recommended
42
43
43
44
-`node-lingua` has a quite good accuracy but is just too big and slow
44
-
-`franc-all` is the worse in term of accuracy, not a surprise because it tries to detect 400+ languages. A technical demo to put big numbers but useless for real usage, even a language like english is barely at~45% detection rate.
45
+
-`franc-all` is the worse in term of accuracy, not a surprise because it tries to detect 400+ languages with only 3-grams. A technical demo to put big numbers but useless for real usage, even a language like english barely reach~45% detection rate.
45
46
-`languagedetect` is light but just not accurate enough, really focused on indo-european languages (support kazakh but not chinese, korean or japanese). Interesting fact, it's more accurate than franc on west european languages.
@@ -81,13 +83,13 @@ Let's now compare those libraries per language
81
83
82
84
#### Recommended
83
85
84
-
- For **NodeJS**: \`TinyLD\` or \`node-cld\` (fast and accurate)
86
+
- For **NodeJS**: \`TinyLD\`, \`langdetect\` or \`node-cld\` (fast and accurate)
85
87
- For **Browser**: \`TinyLD Light\` or \`franc-min\` (small, decent accuracy, franc is less accurate but support more languages)
86
88
87
89
#### Not recommended
88
90
89
91
- \`node-lingua\` has a quite good accuracy but is just too big and slow
90
-
- \`franc-all\` is the worse in term of accuracy, not a surprise because it tries to detect 400+ languages. A technical demo to put big numbers but useless for real usage, even a language like english barely reach ~45% detection rate.
92
+
- \`franc-all\` is the worse in term of accuracy, not a surprise because it tries to detect 400+ languages with only 3-grams. A technical demo to put big numbers but useless for real usage, even a language like english barely reach ~45% detection rate.
91
93
- \`languagedetect\` is light but just not accurate enough, really focused on indo-european languages (support kazakh but not chinese, korean or japanese). Interesting fact, it's more accurate than franc on west european languages.
0 commit comments