Repository navigation
v1.2.0
What's new
humanize gains word control, matching the app's two paths:
- Whole document —
--min-words/--max-wordshold the whole rewrite to a word range. - Per-passage —
--segments-file budgets.json(a list of{text, min_words?, max_words?}) bounds individual flagged passages. Get the passage texts from thereportcommand and pass--reportalongside so it defines the scope.
Word control is experimental: constraining word count noticeably weakens AI-rate reduction, so leave it off unless a length is required. The whole-document band cannot combine with --report or --segments-file — use one path or the other.