0.0.5-alpha.0 • Published 12 months ago
stopwords-utils v0.0.5-alpha.0
stopwords-utils
Utilities for working with stopwords in 50 languages.
Install
npm i stopwords-utils
Usage
isStopword
import { isStopword } from 'stopwords-utils';
console.log(isStopword('the')); // true
// second argument is optional and it takes a ISO 639-1 language code
console.log(isStopword('más', 'es')); // true
generateGetRandomStopwordFn
import { generateGetRandomStopwordFn } from 'stopwords-utils';
const getRandomStopwordEn = generateGetRandomStopwordFn();
console.log(getRandomStopwordEn());
const getRandomStopwordEs = generateGetRandomStopwordFn('es');
console.log(getRandomStopwordEs());
0.0.5-alpha.0
12 months ago
0.0.4-alpha.0
12 months ago
0.0.3-alpha.0
2 years ago
0.0.2-alpha.0
2 years ago
0.0.1-alpha.0
2 years ago