nlp
Installation
SKILL.md
NLP — Natural Language Processing Toolbox
A pure-bash NLP toolkit for text analysis. Tokenize text, analyze sentiment, extract named entities, summarize documents, compute text similarity, and classify text into categories — all from the command line with no external dependencies.
Commands
tokenize
Split text into words and sentences. Returns word count, sentence count, individual tokens, and the top 10 most frequent words.
bash scripts/script.sh tokenize --input "The quick brown fox jumps over the lazy dog."
bash scripts/script.sh tokenize --file document.txt
bash scripts/script.sh tokenize --file document.txt --json
cat essay.txt | bash scripts/script.sh tokenize