Skip to content

management and conversion of english dialects & locales

License

Notifications You must be signed in to change notification settings

nlp-compromise/nlp-locale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://en.wikipedia.org/wiki/List_of_dialects_of_the_English_language

var nlp = require('nlp_compromise');
var nlpLocale = require('nlp-locale');
nlp.plugin(nlpLocale);

var t = nlp.term('favorite');
t = t.toAmerican();
console.log(t.text)
//favourite

var s = nlp.sentence("he synthesized the sound")
s.terms[1].toBritish()
s.text()
//he synthesised the sound

About

management and conversion of english dialects & locales

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published