Skip to main content

Module humanize

Module humanize 

Source
Expand description

§Humanization Loop Stages

Implements the Disney Loop for text humanization: ρ(t) → ∂(¬σ⁻¹) → ∃(ν) → ρ(t+1)

  1. ρ(t): Current state (robotic text)
  2. ∂(¬σ⁻¹): Anti-regression gate — threshold filter on prob_generated
  3. ∃(ν): Phrasing discovery — group-by-id aggregation (STUB: LLM integration pending)
  4. ρ(t+1): New state (humanized text)

Functions§

humanize_text
Run a single humanization pass on text.
transform_humanization_gate
Stage 2: ∂(¬σ⁻¹) — Humanization Gate
transform_phrasing_discovery
Stage 3: ∃(ν) — Phrasing Discovery (STUB)