This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

is-stopword

1.1.0 • Public • Published

is-stopword

To check if a word is stopword in English

NPM Build Status Coverage Status

Usage

var {
  isStopword,
  getStopwords
} = require('is-stopword');

isStopword('accordingly'); // --> true, because "accordingly" is stopword
isStopword('algolia'); // --> false, because "algolia" is not a stopword

getStopwords(); // --> return an array of the stopwords

API reference

.isStopword(String word)

Return a boolean.

.getStopwords()

Return an array of the stopwords come from ranks.nl.

FYI

Stop Words are words which do not contain important significance to be used in Search Queries. Usually these words are filtered out from search queries because they return vast amount of unnecessary information.

Test

git clone https://github.com/ndaidong/is-stopword.git
cd is-stopword
npm install
npm test

License

The MIT License (MIT)

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i is-stopword

    Weekly Downloads

    2

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    10.6 kB

    Total Files

    12

    Last publish

    Collaborators

    • dongnd