A comprehensive text processing toolkit for everyday text manipulation tasks.
bash
text-tools clean --input file.txt --output clean.txt
bash
text-tools case --input file.txt --to upper # upper, lower, title, sentence
bash
text-tools count --input file.txt
bash
text-tools replace --input file.txt --find "old" --replace "new" --output result.txt
bash
text-tools diff --file1 a.txt --file2 b.txt --output diff.html
bash
text-tools extract --input file.txt --type urls # urls, emails, phones
All functionality available in scripts/:
text_clean.py - Text cleaning and normalizationtext_convert.py - Format and case conversiontext_analyze.py - Text analysis and statisticstext_replace.py - Find and replace operationstext_diff.py - Text comparisontext_extract.py - Data extraction from text