21 of 103 tests failed. (refresh)
Text | Expected | Actual | Comments | |
---|---|---|---|---|
ओळ (oḷ) | oɭ̆ | oɭ̆ | ळ Syllabification: ⟨σ⟩, Word-final, Syllable-final: Vɭ̆ | |
वेळ (veḷ) | ʋeɭ̆ | ʋeɭ̆ | ळ Syllabification: ⟨σ⟩, Word-final, Syllable-final: CVɭ̆ | |
देऊळ (deūḷ) | d̪e.uɭ̆ | d̪euɭ̆ | ळ Syllabification: ⟨σσ⟩, Word-final, Syllable-final: Vɭ̆ | |
केवळ (kevaḷ) | ke.ʋəɭ̆ | ke.ʋəɭ̆ | ळ Syllabification: ⟨σσ⟩, Word-final, Syllable-final: CVɭ̆ | |
आळशी (āḷśī) | aɭ̆.ɕi | a.ɭ̆ɕi | ळ Syllabification: ⟨σσ⟩, Word-medial, Syllable-final: Vɭ̆ | |
काळजी (kāḷjī) | kaɭ̆.d͡ʑi | ka.ɭ̆d͡ʑi | ळ Syllabification: ⟨σσ⟩, Word-medial, Syllable-final: CVɭ̆ | |
मुळे (muḷe) | mu.ɭ̆e | mu.ɭ̆e | ळ Syllabification: ⟨σσ⟩, Word-medial, Syllable-initial: ɭ̆V | |
आळस (āḷas) | a.ɭ̆əs | a.ɭ̆əs | ळ Syllabification: ⟨σσ⟩, Word-medial, syllable-initial: ɭ̆VC | |
डिवच़णे (ḍivaċṇe) | ɖi.ʋət͡s.ɳe | ɖi.ʋət͡s.ɳe | /t͡s/: Word-medial | |
खेच़णे (kheċṇe) | kʰet͡s.ɳe | kʰet͡s.ɳe | /t͡s/: Word-medial | |
अंदाज़ (andāj̈) | ən.d̪ad͡z | ən.d̪ad͡z | /d͡z/: Word-final | |
अंदाज़े (andāj̈e) | ən.d̪a.d͡ze | ən.d̪a.d͡ze | /d͡z/: Word-medial | |
अवहेलना (avhelnā) | əʋ.ɦel.na | ə.ʋʱel.na | Murmur rule in broad transcription: ʋ.ɦ → ʋʱ | |
मार्ग (mārga) | maɾ.ɡə | maɾ.ɡə | Word-final codas: Consonant clusters | |
खुद्द (khudda) | kʰud̪.d̪ə | kʰud̪.d̪ə | Word-final codas: Geminates | |
अख्खे (akhkhe) | ək.kʰe | ək.kʰe | Aspirated geminates: ख्ख | |
पुठ्ठा (puṭhṭhā) | puʈ.ʈʰa | puʈ.ʈʰa | Aspirated geminates: ठ्ठ | |
ईशान्य (īśānya) | i.ɕan.jə | i.ɕan.jə | Non-word-final ई, ऊ: ई Independent | |
ऊर्फ (ūrpha) | uɾ.pʰə | uɾ.pʰə | Non-word-final ई, ऊ: ऊ Independent | |
श्रीमंत (śrīmanta) | ɕɾi.mən.t̪ə | ɕɾi.mən.t̪ə | Non-word-final ई, ऊ: ई Diacritic | |
पूर्ण (pūrṇa) | puɾ.ɳə | puɾ.ɳə | Non-word-final ई, ऊ: ऊ Diacritic | |
ऐक (aik) | əik | əik | Diphthongs: ऐ Independent, Stem of ऐकणे | |
हौस (haus) | ɦəus | ɦəus | Diphthongs: औ Diacritic | |
ऋण (ŕṇ) | ɾuɳ | ɾuɳ | ऋ: Independent | |
कृपा (kŕpā) | kɾu.pa | kɾu.pa | ऋ: Diacritic | |
लाल (lāl) | lal | lal | ल: Checks if ल is /l/ or /l̪/ | |
ऱ्हास (rhās) | ɾʱas | ɾʱas | Eyelash र: Word-initial ऱ्ह | |
गोऱ्हा (gorhā) | ɡo.ɾʱa | ɡo.ɾʱa | Eyelash र: Word-medial ऱ्ह | |
दऱ्या (daryā) | d̪ə.ɾja | d̪əɾ.ja | Eyelash र: /ɾ/ moves to following syllable, Plural of दरी | |
दर्या (daryā) | d̪əɾ.ja | d̪əɾ.ja | Eyelash र: For comparison with दऱ्या | |
सांग (sāṅga) | saŋ.ɡə | saŋ.ɡə | /ŋ/: Stem-final, Stem of सांगणे | |
कंगवा (kaṅgvā) | kəŋ.ɡʋa | kəŋ.ɡʋa | /ŋ/: Word-medial | |
पलंग (palaṅga) | pə.ləŋ.ɡə | pə.ləŋ.ɡə | /ŋ/: Word-final | |
न्हावी (nhāvī) | nʱa.ʋi | nʱa.ʋi | Spelt mumured consonants: Word-initial न्ह | |
तान्हा (tānhā) | t̪a.nʱa | t̪a.nʱa | Spelt mumured consonants: Word-medial न्ह | |
म्हण (mhaṇ) | mʱəɳ | mʱəɳ | Spelt mumured consonants: Word-initial म्ह | |
आम्ही (āmhī) | a.mʱi | a.mʱi | Spelt mumured consonants: Word-medial म्ह | |
जिल्हा (jilhā) | d͡ʑi.lʱa | d͡ʑi.lʱa | Spelt mumured consonants: Word-medial ल्ह | |
व्हा (vhā) | ʋʱa | ʋʱa | Spelt mumured consonants: Word-initial व्ह | |
नव्हे (navhe) | nə.ʋʱe | nə.ʋʱe | Spelt mumured consonants: Word-medial व्ह | |
काय (kāy) | kaj | kaj | य: ⟨σ⟩, Word-final, Syllable-final: Vj | |
उदय (uday) | u.d̪əj | u.d̪əj | य: ⟨σσ⟩, Word-final, Syllable-final: CVj | |
आयते (āyte) | aj.t̪e | aj.t̪e | य: ⟨σσ⟩, Word-medial, Syllable-final: Vj | |
फायदा (phāydā) | pʰaj.d̪a | pʰaj.d̪a | य: ⟨σσ⟩, Word-medial, Syllable-final: CVj | |
नायक (nāyak) | na.jək | na.jək | य: ⟨σσ⟩, Word-medial, Syllable-initial: jVC | |
ज्ञान (jñān) | d̪njan | d͡ʑnan | ज्ञ: Word-initial | |
आज्ञा (ājñā) | ad̪.nja | ad͡ʑ.na | ज्ञ: Word-medial | |
मोह (moh) | moɦ | moɦ | ह: ⟨σ⟩, Word-final | |
ॲप् (ĕp) | æp | æp | English: ॲ Independent, app | |
ऍप् (ĕp) | æp | æp | English: ऍ Independent, app | |
ऑस्ट्रेलिया (ŏsṭreliyā) | ɔs.ʈɾe.li.ja | ɔs.ʈɾe.li.ja | English: ऑ Independent, Australia | |
बॅट (bĕṭ) | bæʈ | bæʈ | English: ॲ Diacritic, bat | |
कॉट (kŏṭ) | kɔʈ | kɔʈ | English: ऑ Diacritic, cot | |
बँक् (bĕṅk) | bæŋk | bæŋk | English: अँ Diacritic, bank | |
ऑगस्ट् (ŏgasṭ) | ɔ.ɡəsʈ | ɔ.ɡəsʈ | English: Syllable-final CC, August | |
काँग्रेस (kŏṅgres) | kɔŋ.ɡɾes | kɔŋ.ɡɾes | English: आँ Diacritic, Congress, Hindi कांग्रेस | |
हाँग्-काँग् (hŏṅg-kŏṅg) | ɦɔŋɡ‿kɔŋɡ | ɦɔŋɡ.kɔŋɡ | English: Multiword term Hong Kong, Hindi हांग कांग |
Text | Expected | Actual | Comments | |
---|---|---|---|---|
ऊ (ū) | uː | uː | Final syllable high vowels: ऊ Independent, Open syllables | |
मी (mī) | miː | miː | Final syllable high vowels: ई Diacritic, Open syllables | |
तू (tū) | t̪uː | t̪uː | Final syllable high vowels: ऊ Diacritic, Open syllables | |
आणि (āṇi) | a.ɳiː | a.ɳiː | Final syllable high vowels: इ Diacritic, Open syllables | |
परंतु (parantu) | pə.ɾən.t̪uː | pə.ɾən.t̪uː | Final syllable high vowels: उ Diacritic, Open syllables | |
उत (ut) | uːt̪ | uːt̪ | Final syllable high vowels: उ Independent, Closed syllables | |
तपशील (tapśīl) | t̪əp.ɕiːl | t̪əp.ɕiːl | Final syllable high vowels: ई Diacritic, Closed syllables | |
कबूल (kabūl) | kə.buːl | kə.buːl | Final syllable high vowels: ऊ Diacritic, Closed syllables | |
गणित (gaṇit) | ɡə.ɳiːt̪ | ɡə.ɳiːt̪ | Final syllable high vowels: इ Diacritic, Closed syllables | |
खुश (khuś) | kʰuːɕ | kʰuːɕ | Final syllable high vowels: उ Diacritic, Closed syllables | |
दही (dahī) | d̪ʱəiː | d̪ʱəiː | Murmur rule: Cə_i → Cʱəi, C = /d̪/ | |
बहीण (bahīṇ) | bʱəiːɳ | bʱəiːɳ | Murmur rule: Cə_i → Cʱəi, C = /b/, Konkani भैण | |
वहिणी (vahiṇī) | ʋʱəi.ɳiː | ʋʱəi.ɳiː | Murmur rule: Cə_i → Cʱəi, C = /ʋ/ | |
बहुतेक (bahutek) | bʱəu.t̪ek | bʱu.t̪ek | Murmur rule: Cə_u → Cʱəu | |
जाहिरात (jāhirāt) | d͡ʑʱai.ɾat̪ | d͡ʑʱai.ɾat̪ | Murmur rule: Ca_i → Cʱai | |
बाहुली (bāhulī) | bʱau.liː | bʱau.liː | Murmur rule: Ca_u → Cʱau | |
मनोहर (manohar) | mə.nʱoɾ | mə.nʱoəɾ | Murmur rule: Cɦə → Cʱ | |
बेहद्द (behadda) | bʱed̪.d̪ə | bʱeəd̪.d̪ə | Murmur rule: Cɦə → Cʱ | |
ज़हाज़ (j̈ahāj̈) | d͡zʱad͡z | d͡zad͡z | Murmur rule: Cə_ → Cʱ, C = /d͡z/, V₂ = /a/ | |
दहा (dahā) | d̪ʱa | d̪ʱa | Murmur rule: Cə_ → Cʱ, C = /d̪/, V₂ = /a/, Konkani धा | |
उदाहरण (udāhraṇ) | u.d̪ʱa.ɾəɳ | u.d̪ʱa.ɾəɳ | Murmur rule: Ca_, C = /d̪/, C₂ = /ɾ/ | |
नाहणे (nāhṇe) | nʱa.ɳe | nʱa.ɳe | Murmur rule: Ca_, C = /n/, C₂ = /ɳ/ | |
बाहेर (bāher) | bʱa.eɾ | bʱaeɾ | Murmur rule: Ca_, C = /b/, V₂ = /e/ | |
मेहेरबानी (meherbānī) | mʱeɾ.ba.niː | mʱeeɾ.ba.niː | Murmur rule: Ca_, C = /m/, V₁ = V₂ = /e/ | |
मोहीम (mohīm) | mʱo.iːm | mʱoiːm | Murmur rule: Ca_, C = /m/, V₁ = /o/, V₂ = /i/ | |
राहणे (rāhṇe) | ɾʱa.ɳe | ɾʱa.ɳe | Murmur rule: Ca_, C = /ɾ/, C₂ = /ɳ/ | |
लिहिणे (lihiṇe) | lʱi.ɳe | lʱii.ɳe | Murmur rule: Ca_, C = /l/, V₁ = V₂ = /i/ | |
वाहणे (vāhṇe) | ʋʱa.ɳe | ʋʱa.ɳe | Murmur rule: Ca_, C = /ʋ/, C₂ = /ɳ/ | |
लहान (lahān) | lʱan | lʱan | Murmur rule: Cə_ → Cʱ, C = /l/, V₂ = /a/, Konkani लान | |
पहिले (pahile) | pəi.le | pi.le | ɦ-deletion: ɦ → ∅ / Cə_i | |
सही (sahī) | səiː | siː | ɦ-deletion: ɦ → ∅ / Cə_i | |
गहू (gahū) | ɡəuː | ɡuː | ɦ-deletion: ɦ → ∅ / Cə_u | |
काही (kāhī) | kaiː | kaiː | ɦ-deletion: ɦ → ∅ / Ca_i | |
पाहुणा (pāhuṇā) | pau.ɳa | pau.ɳa | ɦ-deletion: ɦ → ∅ / Ca_u | |
तहान (tahān) | t̪an | t̪an | ɦ-deletion: ə, ɦ → ∅ / Cəɦ, V₂ = /a/, Konkani तान | |
शहर (śahar) | ɕəɾ | ɕəɾ | ɦ-deletion: ə, ɦ → ∅ / Cəɦ, C = /ɕ/, V₂ = /ə/ | |
सहन (sahan) | sən | sən | ɦ-deletion: ə, ɦ → ∅ / Cəɦ, C = /s/, V₂ = /ə/ | |
साहेब (sāheb) | sa.eb | saeb | ɦ-deletion: a, ɦ → ∅ / Caɦ | |
पेहलवान (pehalvān) | pel.ʋan | pel.ʋan | ɦ-deletion: ɦə → ∅ / C_ə, ɦ-deleted spelling: पेलवान | |
सहमत (sahmat) | sə.mət̪ | sə.mət̪ | ɦ-deletion: ɦ → ∅ / C_, V₁ = /ə/, C₂ = /m/ | |
चेहरा (cehrā) | t͡ɕe.ɾa | t͡ɕe.ɾa | ɦ-deletion: ɦ → ∅ / C_, V₁ = /e/, C₂ = /ɾ/ | |
पाहणे (pāhṇe) | pa.ɳe | pa.ɳe | ɦ-deletion: ɦ → ∅ / C_, V₁ = /a/, C₂ = /ɳ/ | |
वत्स (vatsa) | ʋə.t͡sʰə | ʋə.t͡sʰə | /t͡sʰ/: Word-final | |
मत्सर (matsar) | mə.t͡sʰəɾ | mə.t͡sʰəɾ | /t͡sʰ/: Word-medial | |
उत्साह (utsāh) | u.t͡sʰa | u.t͡sʰa | /t͡sʰ/: Word-medial with ɦ-deletion | |
ज्ञान (jñān) | njan | d͡ʑnan | ज्ञ: Word-initial |
local tests = require("Module:UnitTests")
local m_IPA = require("Module:mr-IPA")
local function tag_IPA(IPA)
return '<span class="IPA">' .. IPA .. '</span>'
end
function tests:check_output(term, expected, comment)
self:equals(
m_IPA.link(term),
tag_IPA(m_IPA.toIPA(term, false)),
tag_IPA(expected),
{ comment = comment }
)
end
function tests:check_output_phonetic(term, expected, comment)
self:equals(
m_IPA.link(term),
tag_IPA(m_IPA.toIPA(term, true)),
tag_IPA(expected),
{ comment = comment }
)
end
function tests:test_all()
examples = {
-- /Broad transcription/
-- Syllabification
-- ळ Syllabification
-- ळ Syllabification: Word-final, Syllable-final, One Syllable ⟨σ⟩
{ "ओळ", "oɭ̆", ] Syllabification: ⟨σ⟩, Word-final, Syllable-final: Vɭ̆]=] },
{ "वेळ", "ʋeɭ̆", ] Syllabification: ⟨σ⟩, Word-final, Syllable-final: CVɭ̆]=] },
-- ळ Syllabification: Word-final, Syllable-final, Two Syllables ⟨σσ⟩
{ "देऊळ", "d̪e.uɭ̆", ] Syllabification: ⟨σσ⟩, Word-final, Syllable-final: Vɭ̆]=] },
{ "केवळ", "ke.ʋəɭ̆", ] Syllabification: ⟨σσ⟩, Word-final, Syllable-final: CVɭ̆]=] },
-- ळ Syllabification: Word-medial, Syllable-final
{ "आळशी", "aɭ̆.ɕi", ] Syllabification: ⟨σσ⟩, Word-medial, Syllable-final: Vɭ̆]=] },
{ "काळजी", "kaɭ̆.d͡ʑi", ] Syllabification: ⟨σσ⟩, Word-medial, Syllable-final: CVɭ̆]=] },
-- ळ Syllabification: Word-medial, Syllable-initial
{ "मुळे", "mu.ɭ̆e", ] Syllabification: ⟨σσ⟩, Word-medial, Syllable-initial: ɭ̆V]=] },
{ "आळस", "a.ɭ̆əs", ] Syllabification: ⟨σσ⟩, Word-medial, syllable-initial: ɭ̆VC]=] },
-- /t͡s/, /d͡z/ syllabification: Word-medial
{ "डिवच़णे", "ɖi.ʋət͡s.ɳe", =] },
{ "खेच़णे", "kʰet͡s.ɳe", =] },
{ "अंदाज़", "ən.d̪ad͡z", =] },
{ "अंदाज़े", "ən.d̪a.d͡ze", =] },
{ "अवहेलना", "əʋ.ɦel.na", =] },
-- Consonant clusters and geminates
-- Word-final consonant clusters and geminates
{ "मार्ग", "maɾ.ɡə", =] },
{ "खुद्द", "kʰud̪.d̪ə", =] },
-- Aspirated geminates: orthographic CʰCʰ → phonological CCʰ
{ "अख्खे", "ək.kʰe", =] },
{ "पुठ्ठा", "puʈ.ʈʰa", =] },
-- Fundamental tests
-- Vowels
-- Non-word-final ई, ऊ
{ "ईशान्य", "i.ɕan.jə", ], ]: ] Independent ]=] },
{ "ऊर्फ", "uɾ.pʰə", ], ]: ] Independent ]=] },
{ "श्रीमंत", "ɕɾi.mən.t̪ə", ], ]: ] Diacritic ]=] },
{ "पूर्ण", "puɾ.ɳə", ], ]: ] Diacritic ]=] },
-- Diphthongs
{ "ऐक", "əik", ] Independent, Stem of ]]=] },
{ "हौस", "ɦəus", ] Diacritic]=] },
-- ऋ
{ "ऋण", "ɾuɳ", ]: Independent]=] },
{ "कृपा", "kɾu.pa", ]: Diacritic]=] },
-- Consonants
-- ल
{ "लाल", "lal", ]: Checks if ] is /l/ or /l̪/]=]},
-- ऱ् (Eyelash र)
{ "ऱ्हास", "ɾʱas", =] },
{ "गोऱ्हा", "ɡo.ɾʱa", =] },
{ "दऱ्या", "d̪ə.ɾja", ]]=] },
{ "दर्या", "d̪əɾ.ja", =] },
-- /ŋ/: Velar nasal
{ "सांग", "saŋ.ɡə", ]]=] },
{ "कंगवा", "kəŋ.ɡʋa", =] },
{ "पलंग", "pə.ləŋ.ɡə", =] },
-- Spelt mumured consonants: न्ह, म्ह, ल्ह, व्ह
{ "न्हावी", "nʱa.ʋi", =] },
{ "तान्हा", "t̪a.nʱa", =] },
{ "म्हण", "mʱəɳ", =] },
{ "आम्ही", "a.mʱi", =] },
{ "जिल्हा", "d͡ʑi.lʱa", =] },
{ "व्हा", "ʋʱa", =] },
{ "नव्हे", "nə.ʋʱe", =] },
-- य
-- य: Word-final
{ "काय", "kaj", ]: ⟨σ⟩, Word-final, Syllable-final: Vj]=] },
{ "उदय", "u.d̪əj", ]: ⟨σσ⟩, Word-final, Syllable-final: CVj]=] },
-- य: Word-medial
{ "आयते", "aj.t̪e", ]: ⟨σσ⟩, Word-medial, Syllable-final: Vj]=] },
{ "फायदा", "pʰaj.d̪a", ]: ⟨σσ⟩, Word-medial, Syllable-final: CVj]=] },
{ "नायक", "na.jək", ]: ⟨σσ⟩, Word-medial, Syllable-initial: jVC]=] },
-- ज्ञ
{ "ज्ञान", "d̪njan", ]: Word-initial]=] },
{ "आज्ञा", "ad̪.nja", ]: Word-medial]=] },
-- ह: Word-final
{ "मोह", "moɦ", ]: ⟨σ⟩, Word-final]=] },
-- English borrowings (See ] for details)
{ "ॲप्", "æp", ] Independent, ]]=] },
{ "ऍप्", "æp", ] Independent, ]]=] },
{ "ऑस्ट्रेलिया", "ɔs.ʈɾe.li.ja", ] Independent, ] ]=] },
{ "बॅट", "bæʈ", ] Diacritic, ]]=] },
{ "कॉट", "kɔʈ", ] Diacritic, ]]=] },
{ "बँक्", "bæŋk", ] Diacritic, ]]=] },
{ "ऑगस्ट्", "ɔ.ɡəsʈ", ] ]=] },
{ "काँग्रेस", "kɔŋ.ɡɾes", ], Hindi ] ]=] },
{ "हाँग्-काँग्", "ɦɔŋɡ‿kɔŋɡ", ], Hindi ] ]=] },
}--[[ Copy the following to add more examples:
{ "", "" },
]]
tests:iterate(examples, "check_output")
end
function tests:test_phonetic()
examples = {
--
-- Final syllable high vowels
-- Open syllables
{ "ऊ", "uː", ] Independent, Open syllables ]=] },
{ "मी", "miː", ] Diacritic, Open syllables ]=] },
{ "तू", "t̪uː", ] Diacritic, Open syllables ]=] },
{ "आणि", "a.ɳiː", ] Diacritic, Open syllables ]=] },
{ "परंतु", "pə.ɾən.t̪uː", ] Diacritic, Open syllables ]=] },
-- Closed syllables
{ "उत", "uːt̪", ] Independent, Closed syllables ]=] },
{ "तपशील", "t̪əp.ɕiːl", ] Diacritic, Closed syllables ]=] },
{ "कबूल", "kə.buːl", ] Diacritic, Closed syllables ]=] },
{ "गणित", "ɡə.ɳiːt̪", ] Diacritic, Closed syllables ]=] },
{ "खुश", "kʰuːɕ", ] Diacritic, Closed syllables ]=] },
-- Murmur rule and ɦ-deletion in the environment CV₁_
-- Murmur rule: result has Cʱ
-- C murmur class = /m/, /n/, /l/, /ʋ/, /ɾ/, /d͡ʑ/, d͡z, /d̪/, /b/
-- V₁ = /ə/, /a/
-- V₂ = /i/, /u/
{ "दही", "d̪ʱəiː", =] },
{ "बहीण", "bʱəiːɳ", ] ]=] },
{ "वहिणी", "ʋʱəi.ɳiː", =] },
{ "बहुतेक", "bʱəu.t̪ek", =] },
{ "जाहिरात", "d͡ʑʱai.ɾat̪", =] },
{ "बाहुली", "bʱau.liː", =] },
-- V₁ ≠ /ə/, /a/, V₂ = /ə/
{ "मनोहर", "mə.nʱoɾ", ɦə → Cʱ ]=] },
{ "बेहद्द", "bʱed̪.d̪ə", ɦə → Cʱ ]=] },
-- ≠ /i/, /u/, /o/
{ "ज़हाज़", "d͡zʱad͡z", → Cʱ, C = /d͡z/, V₂ = /a/ ]=] },
{ "दहा", "d̪ʱa", → Cʱ, C = /d̪/, V₂ = /a/, Konkani ] ]=] },
{ "उदाहरण", "u.d̪ʱa.ɾəɳ", , C = /d̪/, C₂ = /ɾ/ ]=] },
{ "नाहणे", "nʱa.ɳe", , C = /n/, C₂ = /ɳ/ ]=] },
{ "बाहेर", "bʱa.eɾ", , C = /b/, V₂ = /e/ ]=] },
{ "मेहेरबानी", "mʱeɾ.ba.niː", , C = /m/, V₁ = V₂ = /e/ ]=] },
{ "मोहीम", "mʱo.iːm", , C = /m/, V₁ = /o/, V₂ = /i/ ]=] },
{ "राहणे", "ɾʱa.ɳe", , C = /ɾ/, C₂ = /ɳ/ ]=] },
{ "लिहिणे", "lʱi.ɳe", , C = /l/, V₁ = V₂ = /i/ ]=] },
{ "वाहणे", "ʋʱa.ɳe", , C = /ʋ/, C₂ = /ɳ/ ]=] },
{ "लहान", "lʱan", → Cʱ, C = /l/, V₂ = /a/, Konkani ] ]=] },
-- ɦ-deletion: ɦ → ∅
-- C ≠ C murmur class
-- V₁ = /ə/, /a/, V₂ = /i/, /u/
{ "पहिले", "pəi.le", =] },
{ "सही", "səiː", =] },
{ "गहू", "ɡəuː", =] },
{ "काही", "kaiː", =] },
{ "पाहुणा", "pau.ɳa", =] },
-- V₁ = /ə/, /a/, V₂ ≠ /i/, /u/, /o/
{ "तहान", "t̪an", , V₂ = /a/, Konkani ] ]=] },
{ "शहर", "ɕəɾ", , C = /ɕ/, V₂ = /ə/ ]=] },
{ "सहन", "sən", , C = /s/, V₂ = /ə/ ]=] },
{ "साहेब", "sa.eb", ɦ ]=] },
-- V₁ ≠ /ə/, /a/, V₂ = /ə/
{ "पेहलवान", "pel.ʋan", _ə, ɦ-deleted spelling: ] ]=] },
-- ≠ /ə/, /i/, /u/, /o/
{ "सहमत", "sə.mət̪", _, V₁ = /ə/, C₂ = /m/ ]=] },
{ "चेहरा", "t͡ɕe.ɾa", _, V₁ = /e/, C₂ = /ɾ/ ]=] },
{ "पाहणे", "pa.ɳe", _, V₁ = /a/, C₂ = /ɳ/ ]=] },
-- /t͡sʰ/: Any sequence of /ts/ → /t͡sʰ/
{ "वत्स", "ʋə.t͡sʰə", =] },
{ "मत्सर", "mə.t͡sʰəɾ", =] },
{ "उत्साह", "u.t͡sʰa", =] },
-- ज्ञ
{ "ज्ञान", "njan", ]: Word-initial]=] },
}
tests:iterate(examples, "check_output_phonetic")
end
return tests