包详细信息

stopwords-collator

stopwords-iso31MIT1.0.2

Organize raw stopwords into a JSON and a text file.

stopwords collator

自述文件

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.