ElasticSearch phonetic search plugin for Nyingarn
- replace unicode diacritics with ASCII versions
- remove macron from vowels
- replace diphthong combinations with
-y-
/-w-
and initial i/u->yi/wu -ow/-aw
-> AWUah
er
uh
ar
-> A- EN/EL -> IN/IL
- long vowel -> short vowel
- UA/UI/OA -> UWA/UWI
- remove double letters (except for
rr
) - enye -> NG
- YNY/YLY/YN/YL -> NY/LY
- double digraphs -> single digraph (e.g., NGNG -> NG)
- final Y -> AYI
- initial G -> K
- single letter replacements i. B -> P ii. D -> T iii. O -> U iv. E -> I
- G -> K (except for
NG
) - di- and tri-graphs -> J
- S -> J
- C -> K, WH -> W
- WU -> U (except initially or after
A
I
orU
) - WA/WI/WU -> AWA/AWI/AWU (except initially or after
AIU
) - RA/RI/RU -> URA/URI/URU (except initially or after
AIUR
) - Y -> AYI (except next to
AIU
, or afterN
orL
) - AY -> AYI (except before
AIU
) - Y -> I (except after
AIUNLT
) - remove special characters and digits