Skip to content

v0.6.0 — Batch Processing, Quality Metrics, 99% Coverage

Choose a tag to compare

@ksanyok ksanyok released this 19 Feb 20:32

Added

  • humanize_batch() / humanizeBatch() — batch processing (Python + PHP)
  • HumanizeResult.similarity — Jaccard similarity metric (0..1)
  • HumanizeResult.quality_score — overall quality score (0..1)
  • 1255 Python tests — up from 500, with 99% code coverage
  • 223 PHP tests (825 assertions)

Changed

  • Python test coverage 85% → 99% (28 of 38 modules at 100%)
  • mypy clean — 0 type errors across all 38 source files
  • Dead code removed — 11 unreachable blocks cleaned up

Fixed

  • ToneAnalyzer MARKETING direction
  • PHP SentenceSplitter Cyrillic support
  • 37 mypy type errors fixed

Full Changelog: https://github.com/ksanyok/TextHumanize/blob/main/CHANGELOG.md

Install

pip install git+https://github.com/ksanyok/TextHumanize.git@v0.6.0