Repository navigation
Release 0.37.0: Portuguese/Spanish AI-cliche dictionaries, contrast connectors kept - #39
Merged
Merged
Conversation
…onnectors kept - New Portuguese AI-cliche list, extended Spanish list (benchmark edits pt 6 -> 17, es 14 -> 18); keys keep their preposition. - Contrastive connectors are replaced but never dropped. - Spanish 'Total,' removed from replacements.
ksanyok
force-pushed
the
feat/pt-es-cliches
branch
from
November 13, 2026 10:14
6c030c4 to
a2eab40
Compare
…complete-multi-character-sanitization)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Portuguese had no AI-cliche list at all (6 edits on the benchmark article) and the Spanish list was thin.
Changes
AI_CLICHES_PT(openers, hedges, stock phrases) and extendedAI_CLICHES_ESintexthumanize/lang/_ai_cliches.py; keys keep their preposition (no/na/do/da/em) so the replacement governs the following noun exactly like the original. JS packs regenerated.Results (
benchmarks/seo_html)pt 6 → 17 edits, es 14 → 18; links and tags preserved 100%. Live pt/es production articles still get 0–1 edits: they contain no stock cliches.
Tests
JS 119 (incl. contrast connectors kept on en/ru/pt × 25 seeds), Python 2334. Version 0.37.0,
check_version_sync.pyOK.The PHP engine port moves to a separate PR / release (0.38.0), as requested: one release per item.