Which characters actually change?
Explore the exact Gilaki, Mazanderani and Kurdish rule tables released with the paper. These are corruption rules, not a deterministic normalizer.
Training reverses this direction: noisy input → clean output. The language itself does not change.
Bars count source rows in the TSV files, not corpus frequencies or actual character replacements. Script ratios are separately reported in Table A.1 of the paper.
| Conventional source | Possible noisy outputs | Alternatives |
|---|
SP = U+0020 space; ZWNJ = U+200C zero-width non-joiner; ∅ = empty string (TSV NULL). Code points expose visually identical glyphs and multi-code-point sequences. Alternatives are listed in source-file order, not ranked.
Why Kurdish is harder
Both Sorani and Perso-Arabic Kurmanji use the same two manual Kurdish TSVs in config.json. Their learned character-alignment matrices differ, however. Kurdish vowel distinctions may collapse or disappear; several conventional characters can map to the same noisy character. A single observed noisy glyph is therefore insufficient to recover the original.
| Source | Persian influence | Arabic influence |
|---|
These rows are direct excerpts of the two Kurdish TSVs; not all script differences are represented here.
Manual TSV vs. character-alignment matrix (CAT)
The paper (§3.2–3.4) describes alignment of spelling pairs, merging the resulting candidates with manual rules, and using the combined matrix for noise. create_CAT.py normalizes alignment counts, adds 1 to each manual rule and removes scores below 0.1. The released synthesize.py, however, loads the TSV directly and selects uniformly among its alternatives; its loop visits distinct single code points, so multi-code-point source keys are not directly selected there. The exact historical training pipeline cannot be established from this discrepancy alone.
Inspect the released CAT matrices
| Candidate output | Stored score | Manual TSV candidate? |
|---|
CAT scores are not final normalized probabilities: values can exceed 1 after manual rules are added. ▁ (U+2581) is the stored alignment marker; the generator strips it if present in its output.
Sources: ACL 2023 paper, §§3.2–3.4 and Table A.1 · manual tables · released matrices. Alignment demo · Noise demo · Figure 1.