Skip to content

Latest commit

 

History

History
82 lines (55 loc) · 2.14 KB

README.md

File metadata and controls

82 lines (55 loc) · 2.14 KB

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