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.1",
"version": "1.2.2",
"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.1",
"version": "1.2.2",
"author": {
"name": "Novruz Garryyev"
},
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions 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.1"
version: "1.2.2"
---

# humanizer21
Expand Down Expand Up @@ -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.

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.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"
Expand Down
1 change: 1 addition & 0 deletions references/ai-patterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions references/morphology.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/corpus/hunar-gollanma/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -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. ",
Expand Down
2 changes: 1 addition & 1 deletion tests/corpus/terjime-mary/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 ",
Expand Down
Loading