A straight port of the CLD (Compact Language Detector) library embedded in Google's Chromium browser. The library detects the language from provided UTF8 text. It's implemented in C++, with very basic Node bindings.
Want to see pretty graphs? Log in now!
npm install cld
|4||downloads in the last day|
|23||downloads in the last week|
|329||downloads in the last month|
|Last Published By|
|Version||0.0.6 last updated a year ago|
|Keywords||language, detect, language detection|
$ npm install cld
var cld = require('cld'); cld.detect(text);
Copyright 2011, Blagovest Dachev.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.