Full version ↗

01 · Introduction

Script normalization for unconventional writing

Under-resourced languages in bilingual communities

Sina Ahmadi & Antonios Anastasopoulos · ACL 2023

Full section ↗

02 · Motivation

One word, three Czech varieties

Milk in Standard Czech, Haná and Prague CzechHaná and Prague Czech both have the form mlíko. Arrows marked written lead from each to the standard mléko; arrows marked pronounced lead in the opposite direction. writtenpronouncedwrittenpronounced Standard CzechHaná dialect groupPrague / Common CzechmlékomlíkomlíkoCentral Moravianobecná čeština

What if speakers write the form they pronounce?

Illustrative analogy; regional forms can also be written.

Full section ↗

03 · The problem

Same language. Different writing conventions.

Arabic-influenced Sorani

هةر لة يةكةم شانؤوة ديارة فهديان دةويت

Conventional Sorani

هەر لە یەکەم شانۆوە دیارە فەهەدیان دەوێت

Normalize the writing, not the language.

Table 1 · selected differences highlighted.

Full section ↗

05 · Scope

Eight languages, twelve settings

Iranian / Persian influence

Azeri Turkish
Gilaki
Mazanderani

Kurdish settings

Kurmanji
Sorani
Gorani

Urdu influence

Kashmiri
Sindhi

Related scripts share letters, but not every character or convention.

Full section ↗

06 · Script similarity

Similar scripts ≠ identical inventories

Sorani / Arabic

0.254

ە · ڕ · ۆ

Gilaki / Persian

0.909

ۊ · ؤ

Script ratio: unambiguously mapped shared entries / union of inventories.

Table A.1 · ratios as reported.

Full section ↗

07 · Method

No annotated parallel training corpus?

Conventional text
and lexicons
→
Script mappings
rules + aligned words
→
Synthetic noise
noisy → clean pairs
→
Character-level
Transformer

Create supervision from conventional monolingual text.

Paper §§3.1–3.5

Full section ↗

08 · Character mappings

From spelling pairs to character rules

Shared word · Vietnam

ڤیەتنام

ویتنام

Example correspondence

ڤ → و

Needleman–Wunsch → counts → character-alignment table

Paper: CAT-based synthesis. Released generator: manual TSV rules; CAT is built separately.

Full section ↗

09 · Data augmentation

What does 60% noise actually mean?

Illustrative example · five distinct types

a b a c d e d

a b a c d e d

Three selected types: a, c, d. Repeated occurrences are affected together.

Noise is defined over character types, not positions.

Simplified illustration. Released code has an inclusive stopping condition and can select identity mappings.

Full section ↗

10 · Intrinsic results

Normalization helps — not always

Sorani / Arabic · 100% noise
Copy
2.14
Model
50.11
Gilaki / Persian · 100% noise
Copy
80.95
Model
66.76

When the scripts are very similar, copying can be hard to beat.

BLEU · Table D.3 · same 0–100 bar scale.

Full section ↗

11 · Downstream evaluation

Does it improve machine translation?

Sorani / Arabic → English
Clean
30.81
Noisy
4.72
Normalized
24.53
Kashmiri / Urdu → English
Clean
28.40
Noisy
27.93
Normalized
11.39

Sometimes — but normalization can also hurt.

NLLB · BLEU · 100% synthetic noise · Table 5. Language identification and examples ↗

Full section ↗

12 · Discussion

What did we learn?

01

Selective gains

Script similarity matters; compare against copying.

02

Realism

Only 100 manually normalized Sorani social-media sentences.

03

Reproducibility

Paper and released synthesis code differ.

Full section ↗