Lucene Stemmers
is a port of Lucene's stemmers in JavaScript.
See CHANGELOG.md
npm install lucene-stemmers
In plain JavaScript:
const { stemFrenchMinimal } = require("lucene-stemmers");
const stemmed = stemFrenchMinimal("chevaux");
// stemmed === "cheval"
In Typescript:
import { stemFrenchMinimal } from "lucene-stemmers";
const stemmed = stemFrenchMinimal("chevaux");
// stemmed === "cheval"
These stemmers are available:
- French
- Minimal
- Function:
stemFrenchMinimal
- Lucene source code
- Function:
- Light
- Function:
stemFrenchLight
- Lucene source code
- Function:
- Minimal
- Italian
- Light
- Function:
stemItalianLight
- Lucene source code
- Function:
- Light
- Add why
- Add more stemmers
- Publish browser version
- CI