Wondering what’s next for npm?Check out our public roadmap! »

    jsnowball

    1.0.3 • Public • Published

    Nodejs jSnowball Stemmer

    Snowball is a small string processing language designed for creating stemming algorithms for use in Information Retrieval. The Nodejs verion of the Snowball Stemmer supports 17 languages
    The Snowball stemmer can be found on their homepage. http://snowball.tartarus.org


    ## Supported Languages - danish - dutch - english - finnish - german - hungarian - italian - norwegian - romanian - russian - spanish - swedish - porter - portuguese - romanian - spanish - turkish

    Installation

    The Snowball stemmer uses Node-Java internally. Make sure your system is configured properly to run Node-Java. https://github.com/joeferner/node-java


    Usage

    var SnowBall = require('jsnowball');
    var snowBall = new SnowBall('english');
    snowBall.stem('Checks if word is stemmed',function(error,response){
    console.log(response);/// [ 'Check', 'if', 'word', 'is', 'stem' ]
    
    });
    

    Tested on:

    • Node.js : v0.12.7
    • java version "1.8.0_31"
    • Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
    • Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

    If you have any questions or reporting an issue send me a tweet @notmilobejda.
    mbejda.com

    Install

    npm i jsnowball

    DownloadsWeekly Downloads

    2

    Version

    1.0.3

    License

    ISC

    Last publish

    Collaborators

    • avatar