Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.2",
"version": "1.2.3",
"author": {
"name": "Novruz Garryyev",
"url": "https://github.com/novgar21"
Expand Down
2 changes: 1 addition & 1 deletion .cursor-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -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.2",
"version": "1.2.3",
"author": {
"name": "Novruz Garryyev"
},
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.2.3

From the second corpus run and a native speaker's review:

- Equipment is `ornaşdyryldy`, `gurnaldy` or `enjamlaşdyryldy`, not `oturdyldy`, which is for trees (`nahal oturdyldy`). Added to `references/morphology.md` and `references/turkmen-tells.md`; the examples of the passive rule now use `ornaşdyryldy`.
- After an attribute the izafet ending is correct and is not an accusative: `12 sany häzirki zaman kompýuterleri ornaşdyryldy`.
- Corpus checks accept correct wordings they used to reject: `46 km` as well as `46 kilometr`, `agaç gabygyndan` as well as `agajyň`, `baýram günlerinde` in a translated quote, a plural verb before a dash, and one heading at the top of a web article.

## 1.2.2

From the first automatic corpus run (`tests/run_corpus.py`):
Expand Down
2 changes: 1 addition & 1 deletion SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Turkmen language humanizer. Edits and writes Turkmen text (türkmen
license: MIT
metadata:
author: Novruz Garryyev
version: "1.2.2"
version: "1.2.3"
---

# humanizer21
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "humanizer21",
"version": "1.2.2",
"version": "1.2.3",
"description": "Turkmen language humanizer: a skill that removes AI tells and fixes Turkmen spelling, grammar and punctuation.",
"bin": {
"humanizer21": "bin/install.js"
Expand Down
2 changes: 1 addition & 1 deletion prompts/system-prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ WORKFLOW
- k p t ç → g b d j before a vowel suffix in words of 2+ syllables: kitaby, agajy, maksady, Merediň. Not in one-syllable stems (itiň) or -at/-et loans (hökümeti).
- Dropped vowel: ogul→ogly, oglunyň (not ogluň, which is 'your'), agyz→agzy, burun→burny. Pair words keep the hyphen: gije-gündiz.
- After the 3rd person possessive add n: welaýatynda, kararyny, obasyna.
- Noun stays singular after a number: üç kitap, 40 talyp. With a passive verb it also stays in the base form: 12 kompýuter oturdyldy (not kompýuteri).
- Noun stays singular after a number: üç kitap, 40 talyp. With a passive verb it also stays in the base form: 12 kompýuter ornaşdyryldy (not kompýuteri).
- Ordinals: 2026-njy ýyl, 2025-nji ýyl, 25-nji oktýabr, 6-njy, 9-njy, 10-njy, 1-nji, 3-nji (by the vowel of the spoken last word).
- Question suffix together: geldimi. däl, iň, bilen, üçin, ýaly are separate. Hyphen: ýa-da, hem-de, ABŞ-nyň.
- Capitals: Aşgabat şäheri, Mary welaýaty; months lowercase; Täze ýyl.
Expand Down
3 changes: 2 additions & 1 deletion references/morphology.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ 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`.
- The subject of a passive verb takes no accusative, with or without a number: `12 sany kompýuter ornaşdyryldy`, `kitaphana açyldy`. The accusative goes on the object of an active verb: `kompýuterleri ornaşdyrdylar`. After an attribute the noun may take the izafet ending, which is not an accusative: `12 sany häzirki zaman kompýuterleri ornaşdyryldy`, `häzirki zaman enjamlary ornaşdyryldy`.
- Equipment is `ornaşdyryldy`, `gurnaldy` or `enjamlaşdyryldy` (`otaglar häzirki zaman enjamlary bilen enjamlaşdyryldy`), not `oturdyldy`: `oturtmak` is for trees and seedlings (`nahal oturdyldy`).
- `ol → olar`, `şol → şolar`.

## 4. Possessive suffixes
Expand Down
3 changes: 2 additions & 1 deletion references/turkmen-tells.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ Chains of four or more genitives (`ýurdumyzyň ykdysadyýetiniň pudaklarynyň
## 5. Grammar slips

- Plural after a number: `üç kitaplar → üç kitap`, `10 müň adamlar → 10 müň adam`.
- Accusative on the subject of a passive verb: `12 sany kompýuteri oturdyldy → 12 sany kompýuter oturdyldy`, `karary kabul edildi → karar kabul edildi`. With a passive verb the thing acted on is the subject and stays in the base form; `-y/-i` there reads as "his/its computer" or as an object with no verb to take it. Check this whenever you turn a plural into a singular after a number.
- Accusative on the subject of a passive verb: `12 sany kompýuteri ornaşdyryldy → 12 sany kompýuter ornaşdyryldy`, `karary kabul edildi → karar kabul edildi`. With a passive verb the thing acted on is the subject and stays in the base form; `-y/-i` there reads as "his/its computer" or as an object with no verb to take it. Check this whenever you turn a plural into a singular after a number. After an attribute the izafet ending is correct: `häzirki zaman kompýuterleri ornaşdyryldy`.
- `kompýuter oturdyldy`, `enjam oturdyldy` (Russian установлены) → `ornaşdyryldy`, `gurnaldy`; `oturtmak` is for trees (`nahal oturdyldy`).
- Missing `n` after the 3rd person possessive: `welaýatyda → welaýatynda`, `kararyy → kararyny`.
- Ordinals without the right suffix: `9-nji → 9-njy`, `6-nci → 6-njy`, `2025-njy → 2025-nji`.
- Question particle written apart: `bilýärsiň mi → bilýärsiňmi`.
Expand Down
4 changes: 2 additions & 2 deletions tests/corpus/haly-ocerk/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"gluny\u0148 to\u00fdy",
"35 \u00fdyl",
"narpyz",
"agajy\u0148",
"re:agajy\u0148|aga\u00e7 gabyg",
"indigo",
"8 m\u00fc\u0148",
"1 200-si",
Expand Down Expand Up @@ -104,4 +104,4 @@
"\u200b",
"\u00ad"
]
}
}
4 changes: 2 additions & 2 deletions tests/corpus/kitaphana-habary/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"Netijede",
"kitaplar bar",
"kompýuterlar",
"kompýuteri oturdyldy",
"re:kompýuter\\w* oturdyldy",
"2025-njy",
"\"",
"—",
"Başga soragyňyz"
]
}
}
2 changes: 1 addition & 1 deletion tests/corpus/kitaphana-habary/reference.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Daşoguz şäherinde täze kitaphana açyldy. Onda 40 müň kitap bar, okyjylar üçin bolsa 12 sany häzirki zaman kompýuter oturdyldy.
Daşoguz şäherinde täze kitaphana açyldy. Onda 40 müň kitap bar, okyjylar üçin bolsa 12 sany häzirki zaman kompýuter ornaşdyryldy.

Kitaphanada çagalar bölümi, okalga zaly we «Sanly kitaphana» ulgamy işleýär. Okyjylar Microsoft programmalaryny mugt ulanyp bilerler.

Expand Down
2 changes: 1 addition & 1 deletion tests/corpus/sanly-mekdep-makala/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"must_not": [
"Elbetde",
"##",
"re:\\n#{1,6} ",
"**",
"Aşakdaky bölümlerde",
"Platforma barada gürrüň",
Expand Down
14 changes: 7 additions & 7 deletions tests/corpus/terjime-mary/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
"g\u00f6re\u015f",
"h\u00e4kim",
"da\u00fdhan birle\u015figi",
"46 kilometr",
"re:46 (kilometr|km)",
"10-njy fewral",
"30-njy ma\u00fd",
"1 200 gektar",
"450 gektar",
"120 kilometr",
"re:120 (kilometr|km)",
"14 oba",
"iki sany t\u00e4ze nasos stansi\u00fdasy",
"1-nji sent\u00fdabr",
Expand All @@ -48,7 +48,7 @@
"38 m\u00fc\u0148",
"9 g\u00f6terim",
"1,5 million",
"8 kilometr",
"re:\\b8 (kilometr|km)",
"600 me\u00fdletin\u00e7i",
"14 tonna",
"580 m\u00fc\u0148 tonna",
Expand All @@ -63,13 +63,13 @@
"40 mekdeb",
"1 850",
"150 talyp",
"85 kilometr",
"re:85 (kilometr|km)",
"4 m\u00fc\u0148",
"1 300",
"120 otag",
"gara\u015f\u00fdarys \u2013 ",
"\u2013 hatda ba\u00fdram\u00e7ylyk",
"gid\u00fd\u00e4rdi \u2013 indi",
"re:\u2013 hatda ba\u00fdram(\u00e7ylyk)? g\u00fcnlerinde",
"re:gid\u00fd\u00e4rdi(ler)? \u2013 indi",
"tyg\u015fytla\u00fdar \u2013 ",
"\u00fdeti\u015fdik \u2013 ",
"berk jan saglyk",
Expand Down Expand Up @@ -111,4 +111,4 @@
"howzynda",
"howzyny"
]
}
}
2 changes: 1 addition & 1 deletion tests/corpus/terjime-mary/reference.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Garaşsyzlyk gününe bagyşlanan göreş ýaryşynda Mary welaýatynyň topary

Sakarçäge we Türkmengala etraplarynda iki sany täze oba saglyk merkezi ulanmaga berildi. Olaryň her biri bir çalşykda 50 adamy kabul etmäge niýetlenen.

Welaýat hassahanasynda täze anyklaýyş enjamlary, şol sanda MRT enjamy oturdyldy. Iýuldan oktýabra çenli bu enjamda 2 340 näsag barlandy. Hassahananyň baş lukmany Maýa Ataýewa: «Öň adamlar beýle barlag üçin Aşgabada gidýärdi – indi bu barlagdan şu ýerde geçip bolýar» diýip belledi.
Welaýat hassahanasynda täze anyklaýyş enjamlary, şol sanda MRT enjamy ornaşdyryldy. Iýuldan oktýabra çenli bu enjamda 2 340 näsag barlandy. Hassahananyň baş lukmany Maýa Ataýewa: «Öň adamlar beýle barlag üçin Aşgabada gidýärdi – indi bu barlagdan şu ýerde geçip bolýar» diýip belledi.

## Taryh we medeniýet

Expand Down
Loading