Snowball is a small string processing language designed for creating stemming algorithms for use in Information Retrieval.
npm install jsnowball#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
``
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