Skip to content

a quick-and-dirty way to identify the language of a text

License

Notifications You must be signed in to change notification settings

nlp-compromise/nlp-language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nlp-language takes an arbitrary length of text, and guesses which language it is.

classifies languages with the latin alphabet

var nlp = require('nlp_compromise');
var nlpLanguage = require('nlp-language');
nlp.plugin(nlpLanguage);

var t = nlp.text(myUnfinishedNovel);
t2.language();
//"english"

MIT

About

a quick-and-dirty way to identify the language of a text

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published