From 98f3afa7bc5a3c84adf4bef7adef8bd5f6501c26 Mon Sep 17 00:00:00 2001 From: Novruz Garryyev Date: Sun, 1 Nov 2026 10:54:49 +0000 Subject: [PATCH] Release 1.2.2: no accusative on a passive subject, no bold FAQ questions, no Cyrillic left in translations, two corpus checks accept correct wordings --- .claude-plugin/plugin.json | 2 +- .cursor-plugin/plugin.json | 2 +- CHANGELOG.md | 9 +++++++++ SKILL.md | 4 ++-- package.json | 2 +- references/ai-patterns.md | 1 + references/morphology.md | 1 + tests/corpus/hunar-gollanma/expected.json | 2 +- tests/corpus/terjime-mary/expected.json | 2 +- 9 files changed, 18 insertions(+), 7 deletions(-) diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 137115a..2cd5534 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json", "name": "humanizer21", "description": "Turkmen language humanizer. Edits and writes Turkmen text (türkmen dili, Latin script) so it reads like a literate native speaker wrote it, not a chatbot.", - "version": "1.2.1", + "version": "1.2.2", "author": { "name": "Novruz Garryyev", "url": "https://github.com/novgar21" diff --git a/.cursor-plugin/plugin.json b/.cursor-plugin/plugin.json index fc4b2f7..7c8bfa5 100644 --- a/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "humanizer21", "description": "Turkmen language humanizer. Edits and writes Turkmen text (türkmen dili, Latin script) so it reads like a literate native speaker wrote it, not a chatbot.", - "version": "1.2.1", + "version": "1.2.2", "author": { "name": "Novruz Garryyev" }, diff --git a/CHANGELOG.md b/CHANGELOG.md index ffa2ff7..9580c8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 1.2.2 + +From the first automatic corpus run (`tests/run_corpus.py`): + +- The subject of a passive verb takes no accusative, after a number too: `12 sany kompýuter oturdyldy`, not `kompýuteri oturdyldy`. Added to `references/morphology.md`; the model wrote the wrong form in all three answers of one case. +- Questions in a Q&A section become headings or plain lines, never bold (§17). +- The audit now checks a translation from Russian for Cyrillic letters left inside Turkmen words (`toplumа` with a Cyrillic `а`). +- Two corpus checks accepted only one wording of a correct answer: `hünärleriň resmi sanawy barada hem maglumat ýok` and the imperfective `türgenleşýärdi – hatda` in a translated quote now pass. + ## 1.2.1 - When the source contradicts itself, both statements stay until the author answers, and the place goes under "to verify". Found in a test where the skill kept one of two figures and deleted the other. diff --git a/SKILL.md b/SKILL.md index b1cafaa..83e244e 100644 --- a/SKILL.md +++ b/SKILL.md @@ -4,7 +4,7 @@ description: Turkmen language humanizer. Edits and writes Turkmen text (türkmen license: MIT metadata: author: Novruz Garryyev - version: "1.2.1" + version: "1.2.2" --- # humanizer21 @@ -107,7 +107,7 @@ Write a draft, then check it in two passes before writing the final version. **Pass 1: facts, sentence by sentence.** For every sentence of the draft, name the sentence of the source it comes from. A sentence with no source is an error; delete it, even if it is harmless encouragement such as `Başlamak kyn däl.` or `Gelmegi unutmaň!`. The same goes for a detail inside a sentence: a person's title, role or relation to an event must come word for word from the source. If the source is vague (`bilen baglanyşykly`), stay vague and ask in your notes; do not make it precise (`eminler toparyndan`). Do not join two separate statements of the source with a cause or purpose it did not state (`... gowulandyrmak üçin ... meýilleşdirýäris` when the source only said the numbers may improve and, separately, what is planned). Then go the other way: every fact of the source must still be in the draft. A fact is something a reader could check: a name, number, date, place, event, title, or a quote attributed to a named person. Opinions, slogans and sayings (`Endik — saglygyň açary`), answers to an objection nobody raised (`Käbirleri ... diýip pikir edip biler, ýöne ...`) and claims of unnamed experts (`Hünärmenleriň pikiriçe ...`) are not facts to preserve; §3, §5 and §15 tell you to cut or rewrite them, and softening them is not enough. List every such cut in your notes to the user, so they can put it back as a named quote if they have a source. Shape edits (merging sentences, cutting triads, rebuilding a paragraph) lose real facts most often. Keep rankings (`iň köp`, `birinji ýeri`), keep a real list as a list, and keep a statement that information is missing (`resmi maglumat ýok`): it is a fact of the source, unlike the writer's own disclaimer (§21). Words of a named person in an interview or dialogue are a quote, even when they sound like a saying. If the source contradicts itself (`5–9-njy maý` next to `Üç günüň dowamynda`), keep both statements and list them under "to verify"; never drop one. If it names a well-known thing wrongly (`канал Мургаб` for a river), write the right form and list the source's wording. Every statement of the source you cut, hearsay included (`... hasaplanypmyş`), goes into your notes. If you can run code, `barla.py final.txt --compare input.txt` lists numbers, quotes, names, table rows and list items the draft lost. If the user asked for several things in one message, count them and make sure the answer has every part. -**Pass 2: what still sounds machine-made?** Ask the question honestly and list the answers for yourself. Search again for the tells that most often survive a rewrite: §1 contrasts, §2 closers, §3 sayings, §5 answers to nobody, §6 triads, §8 dashes, §15 unnamed experts, §17 emoji and bold labels, and any Turkish word. A tell you only softened is still a tell. In a memo or letter, check §23 again: nothing the addressee already knows, nothing they said themselves. Compare every quote with the source, character by character in an edit and mark by mark in a translation. Russian calques survive often too (`-yň çäklerinde`, `öz içine alýar`, `bolup durýar`, `amala aşyrylýar`). Check also that every sentence still has a clear subject after you cut the one before it (`Ugrunda 200 agaç oturdyldy` needs `Ýodalaryň ugrunda`). Read it as a Turkmen reader would; if a sentence still sounds translated, rebuild it around its verb. +**Pass 2: what still sounds machine-made?** Ask the question honestly and list the answers for yourself. Search again for the tells that most often survive a rewrite: §1 contrasts, §2 closers, §3 sayings, §5 answers to nobody, §6 triads, §8 dashes, §15 unnamed experts, §17 emoji and bold labels, and any Turkish word. A tell you only softened is still a tell. In a memo or letter, check §23 again: nothing the addressee already knows, nothing they said themselves. Compare every quote with the source, character by character in an edit and mark by mark in a translation; a translation from Russian must keep no Cyrillic letter. Russian calques survive often too (`-yň çäklerinde`, `öz içine alýar`, `bolup durýar`, `amala aşyrylýar`). Check also that every sentence still has a clear subject after you cut the one before it (`Ugrunda 200 agaç oturdyldy` needs `Ýodalaryň ugrunda`). Read it as a Turkmen reader would; if a sentence still sounds translated, rebuild it around its verb. Then write the final version. State each point naturally instead of patching flagged phrases one by one. Vary sentence length. Do not over-trim: a text stripped to telegram style, or one that repeats the same noun in neighbouring sentences (`Filmler ... Filmler ...`), also reads as machine-made; use a pronoun, a synonym or a merged sentence. Run `barla.py` again on the final text if you can. diff --git a/package.json b/package.json index 0f89eb2..7b62e77 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "humanizer21", - "version": "1.2.1", + "version": "1.2.2", "description": "Turkmen language humanizer: a skill that removes AI tells and fixes Turkmen spelling, grammar and punctuation.", "bin": { "humanizer21": "bin/install.js" diff --git a/references/ai-patterns.md b/references/ai-patterns.md index d70d7dc..a1f7ff9 100644 --- a/references/ai-patterns.md +++ b/references/ai-patterns.md @@ -167,6 +167,7 @@ The fact underneath is usually sound. Keep it and remove the dressing. ### 17. Bold labels, emoji, decorative headings - Bold labels with colons on every item (`**Esasy pikir:** ...`): turn the list into sentences when the labels carry no information of their own. +- Bold questions in a Q&A or FAQ section (`**Hünäri üýtgedip bolýarmy?**`): make each question a heading of the next level (`### Hünäri üýtgedip bolýarmy?`) or a plain line, never bold. - Headings on a text of three paragraphs, headings that capitalize every word, a horizontal rule between every section. - Arrows in place of a verb (`Tejribe → netije`, `Okuw ➜ iş`): write the sentence. Keep an arrow only in a diagram or a table of changes. - **Emoji: remove them by default, in every genre, including social posts.** Keep emoji only when the user asks for them or gives a voice sample that uses them, and then at the sample's rate. Never one emoji per line or per sentence. diff --git a/references/morphology.md b/references/morphology.md index 1a64f8f..3752a59 100644 --- a/references/morphology.md +++ b/references/morphology.md @@ -31,6 +31,7 @@ Suffixes attach directly, without space, hyphen or apostrophe. A hyphen appears - Back stem `-lar`, front stem `-ler`: `ýurtlar`, `welaýatlar`, `şäherler`, `işler`, `kompýuterler`. - After a rounded first syllable a final `-y/-i` rounds: `guzy → guzular`, `goşgy → goşgular`. - After a number the noun stays singular: `üç gün`, `bäş ýyl`, `10 müň adam`. Not `üç günler`. +- The subject of a passive verb takes no accusative, with or without a number: `12 sany kompýuter oturdyldy`, `kitaphana açyldy`. Not `12 sany kompýuteri oturdyldy`, `kompýuterleri oturdyldy`. The accusative goes on the object of an active verb: `kompýuterleri oturtdylar`. - `ol → olar`, `şol → şolar`. ## 4. Possessive suffixes diff --git a/tests/corpus/hunar-gollanma/expected.json b/tests/corpus/hunar-gollanma/expected.json index 5fddb17..b1f9da4 100644 --- a/tests/corpus/hunar-gollanma/expected.json +++ b/tests/corpus/hunar-gollanma/expected.json @@ -6,7 +6,7 @@ "45 g\u00f6terimi", "35 g\u00f6terimi", "30 g\u00f6terimi", - "resmi sanawy barada maglumat \u00fdok", + "re:resmi sanawy barada (hem )?maglumat \u00fdok", "resmi statistika \u00fdok", "1. ", "2. ", diff --git a/tests/corpus/terjime-mary/expected.json b/tests/corpus/terjime-mary/expected.json index 62f3a93..82ddd27 100644 --- a/tests/corpus/terjime-mary/expected.json +++ b/tests/corpus/terjime-mary/expected.json @@ -68,7 +68,7 @@ "1 300", "120 otag", "gara\u015f\u00fdarys \u2013 ", - "t\u00fcrgenle\u015fdi \u2013 hatda", + "\u2013 hatda ba\u00fdram\u00e7ylyk", "gid\u00fd\u00e4rdi \u2013 indi", "tyg\u015fytla\u00fdar \u2013 ", "\u00fdeti\u015fdik \u2013 ",