ScuttleZanetti
CLI and node.js library to access and remove stop words
Examples
CLI
npm install -g scuttlezanetti
> echo "this is a test" | scuttlezanetti
test
> echo "this is a test" | scuttlezanetti --stop-words test,is
this a
> echo "this,is,a,test" | scuttlezanetti --tokenize-pattern '\W+'
test
Preserve lines in file
while read CMD; do
echo "$CMD" | scuttlezanetti && echo
done < "./input" > output
Node.js
npm install scuttlezanetti
var ScuttleZanetti = api;var stopWords = stopWords; var sz = = stopWords: stopWords //default tokenizePattern: undefined //default { return s; } //default ; sz; //[ 'this', 'is', 'a', 'test' ]sz; //'test'