@types/snowball-stemmers
Version:
TypeScript definitions for snowball-stemmers
27 lines (19 loc) • 790 B
Markdown
# Installation
> `npm install --save @types/snowball-stemmers`
# Summary
This package contains type definitions for snowball-stemmers (https://github.com/mazko/jssnowball#readme).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/snowball-stemmers.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/snowball-stemmers/index.d.ts)
````ts
export interface Stemmer {
stem(term: string): string;
}
export function newStemmer(locale: string): Stemmer;
export function algorithms(): string[];
````
### Additional Details
* Last updated: Tue, 07 Nov 2023 15:11:36 GMT
* Dependencies: none
# Credits
These definitions were written by [Ryan Volum](https://github.com/ryanvolum).