stopwords-collator
v1.0.2
Published
Organize raw stopwords into a JSON and a text file.
Downloads
71
Readme
Stopwords Collator
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.