nlp-locale

    0.0.3 • Public • Published

    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.toAmerican();
    console.log(t.text)
    //favourite
     
    var s = nlp.sentence("he synthesized the sound")
    s.terms[1].toBritish()
    s.text()
    //he synthesised the sound

    Keywords

    none

    Install

    npm i nlp-locale

    DownloadsWeekly Downloads

    5

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • avatar