Module:qay-pron/testcases: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "local tests = require('Module:UnitTests') local m_IPA = require('Module:qay-pron') local function IPA_style(IPA) return '<span style="font-size:110%;font-family:Gentium,\'De...")
 
No edit summary
Line 30: Line 30:
function tests:test_phonemic()
function tests:test_phonemic()
local list = {
local list = {
{"ankyu", ""},
{"ankyu", "ˈaŋ.kju"},
{"netujas", ""},
{"netujas", "neˈtu.ʤas"},
{"nivajya", ""},
{"nivajya", "niˈva.ʤja"},
{"maviyēri", ""},
{"maviyēri", "ma.viˈjeː.ri"},
{"tahi", ""},
{"tahi", "ˈta.hi"},
{"baho", ""},
{"baho", "ˈba.ho"},
{"tavvāng", ""},
{"tavvāng", "taˈvaːŋ"},
{"disyyang", ""},
{"disyyang", "diˈsjaŋ"},
{"tipuyya", ""},
{"tipuyya", "tiˈpu.ja"},
{"ming", ""},
{"ming", "miŋ"},
{"enya", ""},
{"enya", "ˈen.ja"},
{"agon", ""},
{"agon", "ˈa.ɡon"},
{"pakur", ""},
{"pakur", "ˈpa.kur"},
{"mine", ""},
{"mine", "ˈmi.ne"},
{"huākaya", ""},
{"huākaya", "ˈuaː.ka.ja"},
{"adauyi", ""},
{"adauyi", "aˈdau.ji"},
{"edauyi", ""},
{"edauyi", "eˈdau.ji"},
{"nekuyi", ""},
{"nekuyi", "ˈne.ku.ji"},
{"minguay", ""},
{"minguay", "miŋˈɡuaj"},
{"linktang", ""},
{"linktang", "liŋkˈtaŋ"},
{"silvnang", ""},
{"silvnang", "silvˈnaŋ"},
{"migryo", ""},
{"migryo", "ˈmi.ɡrjo"},
{"subrjo", ""},
{"subrjo", "ˈsu.brjo"},
{"ay", ""},
{"ay", ""},
}
}
self:iterate(list, "check_phonemic")
self:iterate(list, "check_phonemic")
Line 60: Line 60:
function tests:test_phonetic()
function tests:test_phonetic()
local list = {
local list = {
{"ankyu", ""},
{"ankyu", "ˈäŋ.kju"},
{"netujas", ""},
{"netujas", "neˈtu.ʤäs"},
{"nivajya", ""},
{"nivajya", "niˈva.ʤjä"},
{"maviyēri", ""},
{"maviyēri", "mäviˈjeː.ɾi"},
{"tahi", ""},
{"tahi", "ˈtä.çi"},
{"baho", ""},
{"baho", "ˈbä.xo"},
{"tavvāng", ""},
{"tavvāng", "täˈväːŋ"},
{"disyyang", ""},
{"disyyang", "dɪsˈjäŋ"},
{"tipuyya", ""},
{"tipuyya", "tiˈpʊ.jä"},
{"ming", ""},
{"ming", "mɪŋ"},
{"enya", ""},
{"enya", "ˈɛn.jä"},
{"agon", ""},
{"agon", "ˈä.ɡɔn"},
{"pakur", ""},
{"pakur", "ˈpä.kʊɾ"},
{"mine", ""},
{"mine", "ˈmi.nə"},
{"huākaya", ""},
{"huākaya", "ˈwäː.kä.jä"},
{"adauyi", ""},
{"adauyi", "äˈdä.wi"},
{"edauyi", ""},
{"edauyi", "eˈdä.wi"},
{"nekuyi", ""},
{"nekuyi", "ˈne.kwi"},
{"minguay", ""},
{"minguay", "mɪŋˈɡwäɪ"},
{"linktang", ""},
{"linktang", "liŋkˈtäŋ"},
{"silvnang", ""},
{"silvnang", "sɪlvˈnäŋ"},
{"migryo", ""},
{"migryo", "ˈmi.ɡɾjo"},
{"subrjo", ""},
{"subrjo", "ˈsu.bɾjo"},
{"ay", ""},
{"ay", ""},
}
}
self:iterate(list, "check_phonetic")
self:iterate(list, "check_phonetic")

Navigation menu