Wondering what’s next for npm?Check out our public roadmap! »

    lucene-stemmers
    TypeScript icon, indicating that this package has built-in type declarations

    1.2.1 • Public • Published

    Lucene Stemmers in JavaScript

    Lucene Stemmers Logo

    Version GitHub Workflow Status

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

    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

    Install

    npm i lucene-stemmers

    DownloadsWeekly Downloads

    0

    Version

    1.2.1

    License

    Apache-2.0

    Unpacked Size

    46.1 kB

    Total Files

    21

    Last publish

    Collaborators

    • avatar