From 260c4d03a7abcf1a2df4df9c3228f9dde3bd2818 Mon Sep 17 00:00:00 2001 From: Novruz Garryyev Date: Sat, 14 Nov 2026 12:38:47 +0000 Subject: [PATCH] =?UTF-8?q?Release=201.2.4:=20keep=201-nji=20kurs=20and=20?= =?UTF-8?q?nasos=20stansi=C3=BDasy,=20corpus=20checks=20accept=20birinji?= =?UTF-8?q?=20=C3=BDyl=20and=20nasos=20beketi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude-plugin/plugin.json | 2 +- .cursor-plugin/plugin.json | 2 +- CHANGELOG.md | 7 +++++++ SKILL.md | 2 +- package.json | 2 +- references/punctuation-lexicon.md | 2 ++ tests/corpus/hunar-gollanma/expected.json | 2 +- tests/corpus/terjime-mary/expected.json | 2 +- 8 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 8d111a0..7bed9b2 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.3", + "version": "1.2.4", "author": { "name": "Novruz Garryyev", "url": "https://github.com/novgar21" diff --git a/.cursor-plugin/plugin.json b/.cursor-plugin/plugin.json index 1410e29..c8e6a6e 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.3", + "version": "1.2.4", "author": { "name": "Novruz Garryyev" }, diff --git a/CHANGELOG.md b/CHANGELOG.md index fc8cab3..2b6d249 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 1.2.4 + +From a manual check of 1.2.3 against the corpus: + +- A correct word of the source is not swapped for a synonym from the loanword table: `1-nji kurs` stays, and Russian `насосная станция` is `nasos stansiýasy`. Added to `references/punctuation-lexicon.md`. +- Two corpus checks accept a second correct wording: `birinji ýyl talyplary` next to `1-nji kursuň talyplary`, and `nasos beketi` next to `nasos stansiýasy`. + ## 1.2.3 From the second corpus run and a native speaker's review: diff --git a/SKILL.md b/SKILL.md index 4272b2e..981abd9 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.3" + version: "1.2.4" --- # humanizer21 diff --git a/package.json b/package.json index ba73e74..1ee17c1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "humanizer21", - "version": "1.2.3", + "version": "1.2.4", "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/punctuation-lexicon.md b/references/punctuation-lexicon.md index 0cebc22..a1a9aa4 100644 --- a/references/punctuation-lexicon.md +++ b/references/punctuation-lexicon.md @@ -185,6 +185,8 @@ Three layers: Keep international words that have no established Turkmen equivalent: `prezident`, `parlament`, `ministr`, `internet`, `kompýuter`, `programma`, `tehnologiýa`, `innowasiýa`, `sport`, `teatr`, `konsert`. Inventing a native word where none is in use produces odd text. +Do not swap a correct word of the source for a synonym from the table above: the table is for choosing a word when you write or translate. `1-nji kurs` (a year of study) stays `1-nji kurs`, not `birinji ýyl`; Russian `насосная станция` is `nasos stansiýasy`. Fix only the suffix if it is wrong (`1-nci kurs` → `1-nji kurs`). Found in a test where both were replaced by correct but unasked synonyms. + ## 10. Register and synonyms | Everyday | Formal / news | Meaning | diff --git a/tests/corpus/hunar-gollanma/expected.json b/tests/corpus/hunar-gollanma/expected.json index b1f9da4..f422678 100644 --- a/tests/corpus/hunar-gollanma/expected.json +++ b/tests/corpus/hunar-gollanma/expected.json @@ -27,7 +27,7 @@ "t\u00e4ze fakultet a\u00e7yldy", "howzunda", "Ma\u00fdsa Gurbanowa", - "1-nji kurs", + "re:(1-nji|birinji) (kursu[ňn]|ýyl(yň)?) talyplary", "7 g\u00f6terimi", "Serdar Anna\u00fdew", "alty \u00fdyl", diff --git a/tests/corpus/terjime-mary/expected.json b/tests/corpus/terjime-mary/expected.json index e61c985..9352808 100644 --- a/tests/corpus/terjime-mary/expected.json +++ b/tests/corpus/terjime-mary/expected.json @@ -32,7 +32,7 @@ "450 gektar", "re:120 (kilometr|km)", "14 oba", - "iki sany t\u00e4ze nasos stansi\u00fdasy", + "re:(iki|2)( sany)? t\u00e4ze nasos (stansi\u00fdasy|beketi)", "1-nji sent\u00fdabr", "50 metr", "0,9 metr",