{"library":"snowball-stemmers","title":"Snowball Stemmers","type":"library","description":"JavaScript port of the Snowball stemming algorithms (http://snowball.tartarus.org/), supporting 24 languages including Arabic, Russian, English, and more. The current stable version is 0.6.0, released sporadically. It is autogenerated from the Snowball compiler and uses ESJava. Key differentiators: lightweight, no dependencies, pure JS, and supports a wide range of languages. Compared to alternatives like natural or stemming libraries, it focuses on comprehensive language coverage. The library provides a simple factory API for creating stemmers and lists available algorithms.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install snowball-stemmers"],"cli":null},"imports":["const snowballFactory = require('snowball-stemmers'); const stemmer = snowballFactory.newStemmer('english');","const snowballFactory = require('snowball-stemmers'); const algs = snowballFactory.algorithms();","const stemmer = snowballFactory.newStemmer('russian'); const result = stemmer.stem('чаво');"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":"https://snowballstem.org","github":"https://github.com/mazko/jssnowball","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/snowball-stemmers","openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"const snowballFactory = require('snowball-stemmers');\n\nconst stemmer = snowballFactory.newStemmer('english');\nconsole.log(stemmer.stem('running')); // 'run'\n\nconsole.log(snowballFactory.algorithms());\n// ['arabic', 'armenian', ..., 'turkish']","lang":"javascript","description":"Shows how to require the factory, create a stemmer for English, stem a word, and list all available algorithms.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}