Skip to content

Stem words like Lucene (port of Lucene' stemmers to JavaScript)

License

Notifications You must be signed in to change notification settings

tomsquest/lucene-stemmers

Repository files navigation

Lucene Stemmers in JavaScript

Lucene Stemmers Logo

Version GitHub Workflow Status

Lucene Stemmers is a port of Lucene's stemmers in JavaScript.

Table of contents

Changelog

See CHANGELOG.md

Install

npm install lucene-stemmers

Usage

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"

Stemmers implemented

These stemmers are available:

TODO

  • Add why
  • Add more stemmers
  • Publish browser version
  • CI

About

Stem words like Lucene (port of Lucene' stemmers to JavaScript)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published