Skip to content

v0.0.3 — WebMiner Subcommand CLI

Choose a tag to compare

@galaxyeye galaxyeye released this 26 Jul 08:59
· 18 commits to main since this release

Breaking Changes

The CLI has been redesigned from --input flag-based to subcommand-based:

Old (legacy):

WebMiner --input <html-dir> [options]

New:

WebMiner <command> [args...] [options...]

Commands

  • all <html-dir> — Full pipeline: encode → cluster → views
  • encode <html-dir> — Encode HTML files to CSV feature vectors
  • cluster <csv-path> — Run KMeans on an encoded CSV
  • views <result-dir> — Build HTML/XLSX views from clustering results

Examples

WebMiner all /tmp/amazon-pages
WebMiner all /tmp/amazon-pages --k 12 --max-files 50
WebMiner all /tmp/amazon-pages --resume
WebMiner encode /tmp/amazon-pages
WebMiner cluster /tmp/encoded.csv

Fixes

  • run-example now works correctly with the installed JAR
  • The PowerShell launcher no longer needs the -cp workaround