stopwords-collator

Organize raw stopwords into a JSON and a text file.

MIT 6 个版本
安装
npm install stopwords-collator
yarn add stopwords-collator
pnpm add stopwords-collator
bun add stopwords-collator
README

Stopwords Collator

Build Status Coverage Status Code Climate Dependency Status Known Vulnerabilities

Organize raw stopwords into a JSON and a text file. It does the following:

  • Strip CRs
  • Strip BOMs
  • Strip duplicates
  • Strip whitespaces
  • Split tab separated words
  • Sort final result
  • Ignore lines starting with #

Command Line

The following command line options are supported:

  • -s <path> - Directory of the stopwords text files (.txt)
  • -o <path> - filename and path to output file.
$ stopwords-collator -s raw -o lib/stopwords

Contributing

  • Include 100% test coverage and no eslint issue.
  • Submit an issue first for significant changes.
版本列表
1.0.2 2020-03-05
1.0.1 2018-03-06
1.0.0 2016-10-08
0.3.0 2016-10-07
0.2.0 2016-10-06
0.1.0 2016-10-05