Skip to content

Releases

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 27 Oct 15:20

Changed

  • Breaking: the command is now wfreq instead of wordfreq, matching the crate name.
    Install with cargo install wfreq and run wfreq <FILES>....
  • Breaking: the library is now wfreq, so imports change from use wordfreq::... to use wfreq::....
  • README header is a screenshot of real output; diagrams use the new name.

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 27 Oct 15:20

First release. Published on crates.io as wfreq; the command is wordfreq.

Added

  • Count the top N words in .txt, .md, .pdf and .docx files.
  • Read several files at once, whole folders, subfolders with -r, and stdin with -.
  • --format plain|table|csv output. The table draws a bar for each count.
  • Filters: --ignore-stop-words, -x/--exclude <FILE>, --min-len, --max-len, -i/--case-sensitive.
  • -v/--verbose stats 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.