Repository navigation
Releases
Releases · yashksaini-coder/wfreq
v0.2.0
Changed
- Breaking: the command is now
wfreqinstead ofwordfreq, matching the crate name.
Install withcargo install wfreqand runwfreq <FILES>.... - Breaking: the library is now
wfreq, so imports change fromuse wordfreq::...touse wfreq::.... - README header is a screenshot of real output; diagrams use the new name.
v0.1.0
First release. Published on crates.io as wfreq; the command is wordfreq.
Added
- Count the top N words in
.txt,.md,.pdfand.docxfiles. - Read several files at once, whole folders, subfolders with
-r, and stdin with-. --format plain|table|csvoutput. The table draws a bar for each count.- Filters:
--ignore-stop-words,-x/--exclude <FILE>,--min-len,--max-len,-i/--case-sensitive. -v/--verbosestats on stderr: files read, total words, unique words, diversity ratio, time.- Clear errors with the file path and the reason. With several files, a bad file is a warning and is skipped.
- Library API (
wordfreq::core,parser,input,output) with rustdoc on every public item. - Unit, integration, property (proptest) and doc tests; criterion benchmarks.
- CI: fmt, clippy with warnings denied, tests, rustdoc and minimum Rust version 1.88.