UNPKG

@botonic/plugin-contentful

Version:

## What Does This Plugin Do?

15 lines (14 loc) 433 B
/** * From https://github.com/Tutanchamon/pl_stemmer/blob/master/pl_stemmer.py */ import Stemmer from '@nlpjs/core/src/stemmer'; export declare class StemmerPl implements Stemmer { stem(tokens: string[]): string[]; private removeGeneralEnds; private removeDiminutive; private removeVerbsEnds; private removeNouns; private removeAdjectiveEnds; private removeAdverbsEnds; private removePluralForms; }