/node-stemmer

A Node.js interface to the Snowball stemming algorithms

Primary LanguageTypeScriptMIT LicenseMIT

node-stemmer

CI

What is Node Stemmer?

Node Stemmer is a Node.js interface to the stemming algorithms from the Snowball project, largely inspired by Richard Boulton's PyStemmer. It uses ffi-napi and expects to find the file libstemmer.so (a version of Libstemmer compiled as shared library) in LD_LIBRARY_PATH.
In order to set-up this kind of environment you can take a look at docker-node-libstemmer Dockerfile or you can use the corresponding docker image: amaccis/node-libstemmer

Installation

You can install Node Stemmer using npm.

npm i node-stemmer