Expand description
§Humanization Loop Stages
Implements the Disney Loop for text humanization: ρ(t) → ∂(¬σ⁻¹) → ∃(ν) → ρ(t+1)
- ρ(t): Current state (robotic text)
- ∂(¬σ⁻¹): Anti-regression gate — threshold filter on
prob_generated - ∃(ν): Phrasing discovery — group-by-id aggregation (STUB: LLM integration pending)
- ρ(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)