Z19010

{
    "Z1K1": "Z2",
    "Z2K1": {
        "Z1K1": "Z6",
        "Z6K1": "Z19010"
    },
    "Z2K2": {
        "Z1K1": "Z14",
        "Z14K1": "Z19009",
        "Z14K3": {
            "Z1K1": "Z16",
            "Z16K1": "Z610",
            "Z16K2": "def Z19009(Z19009K1):\n\timport re\n\tpattern = re.compile(r'([\\u064B-\\u0659])([\\u0651])')\n\tstring = pattern.sub(r'\\2\\1', Z19009K1)\n\tstring = string.replace(\"ّ\",\":\")\n\tstring = string.replace(\"يِي\", \"ji:\")\n\tstring = string.replace(\"يٙا\", \"jƐ:\")\n\tstring = string.replace(\"يٙا\", \"jƐ:\")\n\tstring = string.replace(\"يَا\", \"jɐ:\")\n\tstring = string.replace(\"يُو\", \"ju:\")\n\tstring = string.replace(\"يِي \", \"ji\")\n\tstring = string.replace(\"يٙا \", \"jæ\")\n\tstring = string.replace(\"يَا \", \"jɐ\")\n\tstring = string.replace(\"يُو \", \"ju\")\n\tstring = string.replace(\"يَ\", \"jɐ\")\n\tstring = string.replace(\"يٙ\", \"jæ\")\n\tstring = string.replace(\"يُ\", \"jo\")\n\tstring = string.replace(\"يِ\", \"ji\")\n\tstring = string.replace(\"ُوا\", \"u\")\n\tstring = string.replace(\"وِي\", \"wi:\")\n\tstring = string.replace(\"وٙا\", \"wƐ:\")\n\tstring = string.replace(\"وَا\", \"wɐ:\")\n\tstring = string.replace(\"وُو\", \"wu:\")\n\tstring = string.replace(\"وِي \", \"wi \")\n\tstring = string.replace(\"وٙا \", \"wƐ \")\n\tstring = string.replace(\"وَا \", \"wɐ \")\n\tstring = string.replace(\"وُو \", \"wu \")\n\tstring = string.replace(\"وِ\", \"wi\")\n\tstring = string.replace(\"وٙ\", \"wæ\")\n\tstring = string.replace(\"وَ\", \"wɐ\")\n\tstring = string.replace(\"وُ\", \"wo\")\n\tstring = string.replace(\"َا \", \"ɐ \")\n\tstring = string.replace(\"ٙا \", \"æ \")\n\tstring = string.replace(\"ِ \", \"i \")\n\tstring = string.replace(\"ُ \", \"u \")\n\tstring = string.replace(\"هْ\", \"h\")\n\tstring = string.replace(\"َا\", \"ɐ:\")\n\tstring = string.replace(\"َى\", \"ɐ\")\n\tstring = string.replace(\"َ\", \"ɐ\")\n\tstring = string.replace(\"ٙا\", \"Ɛ:\")\n\tstring = string.replace(\"َى\", \"æ\")\n\tstring = string.replace(\"ٙ\", \"æ\")\n\tstring = string.replace(\"ُو \", \"u \")\n\tstring = string.replace(\"ُه \", \"u \")\n\tstring = string.replace(\"ُو\", \"u:\")\n\tstring = string.replace(\"ِي \", \"i \")\n\tstring = string.replace(\"ِي\", \"i:\")\n\tstring = string.replace(\"ةْ\", \"t\")\n\tstring = string.replace(\"ة\", \"\")\n\tstring = string.replace(\"الص\", \"ɪsˁ:\")\n\tstring = string.replace(\"الض\", \"ɪðˁ:\")\n\tstring = string.replace(\"الظ\", \"ɪðˁ:\")\n\tstring = string.replace(\"الث\", \"ɪθ:\")\n\tstring = string.replace(\"الق\", \"ɪlq\")\n\tstring = string.replace(\"الف\", \"ɪlf\")\n\tstring = string.replace(\"الغ\", \"ɪlʁ\")\n\tstring = string.replace(\"الع\", \"ɪlʕ\")\n\tstring = string.replace(\"اله\", \"ɪlh\")\n\tstring = string.replace(\"الخ\", \"ɪlχ\")\n\tstring = string.replace(\"الح\", \"ɪlħ\")\n\tstring = string.replace(\"الج\", \"ɪlʒ\")\n\tstring = string.replace(\"الد\", \"ɪd:\")\n\tstring = string.replace(\"الذ\", \"ɪð:\")\n\tstring = string.replace(\"الط\", \"ɪtˁ:\")\n\tstring = string.replace(\"الك\", \"ɪlk\")\n\tstring = string.replace(\"الم\", \"ɪlm\")\n\tstring = string.replace(\"الن\", \"ɪn:\")\n\tstring = string.replace(\"الت\", \"ɪt:\")\n\tstring = string.replace(\"الأ\", \"ɪlʔ\")\n\tstring = string.replace(\"الل\", \"ɪl:\")\n\tstring = string.replace(\"الب\", \"ɪlb\")\n\tstring = string.replace(\"الي\", \"ɪlj\")\n\tstring = string.replace(\"الس\", \"ɪs:\")\n\tstring = string.replace(\"الش\", \"ɪʃ:\")\n\tstring = string.replace(\"الر\", \"ɪz:\")\n\tstring = string.replace(\"الآ\", \"ɪl:Ɛ:\")\n\tstring = string.replace(\"الو\", \"ɪl:u\")\n\tstring = string.replace(\"الز\", \"ɪz:\")\n\tstring = string.replace(\"الإ\", \"ɪlʔ\")\n\tstring = string.replace(\"الص\", \"ɪsˁ:\")\n\tstring = string.replace(\"الض\", \"ɪðˁ:\")\n\tstring = string.replace(\"الظ\", \"ɪðˁ:\")\n\tstring = string.replace(\"الث\", \"ɪθ:\")\n\tstring = string.replace(\"الق\", \"ɪlq\")\n\tstring = string.replace(\"الف\", \"ɪlf\")\n\tstring = string.replace(\"الغ\", \"ɪlʁ\")\n\tstring = string.replace(\"العْ\", \"ɪlʕ\")\n\tstring = string.replace(\"الع\", \"ɪlʕ\")\n\tstring = string.replace(\"اله\", \"ɪlh\")\n\tstring = string.replace(\"الخ\", \"ɪlχ\")\n\tstring = string.replace(\"الح\", \"ɪlħ\")\n\tstring = string.replace(\"الج\", \"ɪlʒ\")\n\tstring = string.replace(\"الد\", \"ɪd:\")\n\tstring = string.replace(\"الذ\", \"ɪð:\")\n\tstring = string.replace(\"الط\", \"ɪtˁ:\")\n\tstring = string.replace(\"الك\", \"ɪlk\")\n\tstring = string.replace(\"الم\", \"ɪlm\")\n\tstring = string.replace(\"الن\", \"ɪn:\")\n\tstring = string.replace(\"الت\", \"ɪt:\")\n\tstring = string.replace(\"الأ\", \"ɪlʔ\")\n\tstring = string.replace(\"الل\", \"ɪl:\")\n\tstring = string.replace(\"الب\", \"ɪlb\")\n\tstring = string.replace(\"الي\", \"ɪlj\")\n\tstring = string.replace(\"الس\", \"ɪs:\")\n\tstring = string.replace(\"الش\", \"ɪʃ:\")\n\tstring = string.replace(\"الر\", \"ɪz:\")\n\tstring = string.replace(\"الآ\", \"ɪlƐ\")\n\tstring = string.replace(\"الو\", \"ɪl:u\")\n\tstring = string.replace(\"الز\", \"ɪz:\")\n\tstring = string.replace(\"الإ\", \"ɪlʔ\")\n\tstring = string.replace(\"الص\", \"ɪsˁ:\")\n\tstring = string.replace(\"الض\", \"ɪðˁ:\")\n\tstring = string.replace(\"الظ\", \"ɪðˁ:\")\n\tstring = string.replace(\"الث\", \"ɪθ:\")\n\tstring = string.replace(\"الق\", \"ɪlq\")\n\tstring = string.replace(\"الف\", \"ɪlf\")\n\tstring = string.replace(\"الغ\", \"ɪlʁ\")\n\tstring = string.replace(\"الع\", \"ɪlʕ\")\n\tstring = string.replace(\"اله\", \"ɪlh\")\n\tstring = string.replace(\"الخ\", \"ɪlχ\")\n\tstring = string.replace(\"الح\", \"ɪlħ\")\n\tstring = string.replace(\"الج\", \"ɪlʒ\")\n\tstring = string.replace(\"الد\", \"ɪd:\")\n\tstring = string.replace(\"الذ\", \"ɪð:\")\n\tstring = string.replace(\"الط\", \"ɪtˁ:\")\n\tstring = string.replace(\"الك\", \"ɪlk\")\n\tstring = string.replace(\"الم\", \"ɪlm\")\n\tstring = string.replace(\"الن\", \"ɪn:\")\n\tstring = string.replace(\"الت\", \"ɪt:\")\n\tstring = string.replace(\"الأ\", \"ɪlʔ\")\n\tstring = string.replace(\"الل\", \"ɪl:\")\n\tstring = string.replace(\"الب\", \"ɪlb\")\n\tstring = string.replace(\"الي\", \"ɪlj\")\n\tstring = string.replace(\"الس\", \"ɪs:\")\n\tstring = string.replace(\"الش\", \"ɪʃ:\")\n\tstring = string.replace(\"الر\", \"ɪr:\")\n\tstring = string.replace(\"الآ\", \"ɪl:Ɛ\")\n\tstring = string.replace(\"الو\", \"ɪl:u\")\n\tstring = string.replace(\"الز\", \"ɪz:\")\n\tstring = string.replace(\"الإ\", \"ɪlʔ\")\n\tstring = string.replace(\"الپ\", \"ɪlp\")\n\tstring = string.replace(\"الڥ\", \"ɪlv\")\n\tstring = string.replace(\"الڨ\", \"ɪlg\")\n\tstring = string.replace(\"ص\", \"sˁ\")\n\tstring = string.replace(\"ض\", \"ðˁ\")\n\tstring = string.replace(\"ظ\", \"ðˁ\")\n\tstring = string.replace(\"ث\", \"θ\")\n\tstring = string.replace(\"ق\", \"q\")\n\tstring = string.replace(\"ف\", \"f\")\n\tstring = string.replace(\"غ\", \"ʁ\")\n\tstring = string.replace(\"ع\", \"ʕ\")\n\tstring = string.replace(\"ه\", \"h\")\n\tstring = string.replace(\"خ\", \"χ\")\n\tstring = string.replace(\"ح\", \"ħ\")\n\tstring = string.replace(\"ج\", \"ʒ\")\n\tstring = string.replace(\"د\", \"d\")\n\tstring = string.replace(\"ذ\", \"ð\")\n\tstring = string.replace(\"ط\", \"tˁ\")\n\tstring = string.replace(\"ك\", \"k\")\n\tstring = string.replace(\"م\", \"m\")\n\tstring = string.replace(\"ن\", \"n\")\n\tstring = string.replace(\"ت\", \"t\")\n\tstring = string.replace(\"أ\", \"ʔ\")\n\tstring = string.replace(\"ل\", \"l\")\n\tstring = string.replace(\"ب\", \"b\")\n\tstring = string.replace(\"س\", \"s\")\n\tstring = string.replace(\"ش\", \"ʃ\")\n\tstring = string.replace(\"ر\", \"r\")\n\tstring = string.replace(\"آ\", \"ʔƐ\")\n\tstring = string.replace(\"ز\", \"z\")\n\tstring = string.replace(\"إ\", \"ʔ\")\n\tstring = string.replace(\"پ\", \"p\")\n\tstring = string.replace(\"ڥ\", \"v\")\n\tstring = string.replace(\"ڨ\", \"g\")\n\tstring = string.replace(\"ئ\", \"ʔ\")\n\tstring = string.replace(\"ؤ\", \"ʔ\")\n\tstring = string.replace(\"ي\", \"j\")\n\tstring = string.replace(\"و\", \"w\")\n\tstring = string.replace(\"ِ\", \"ɪ\")\n\tstring = string.replace(\"ُ\", \"o\")\n\tletters = [\"z\", \"zˁ\", \"nˁ\", \"mˁ\", \"lˁ\", \"rˁ\", \"bˁ\", \"sˁ\", \"ðˁ\", \"θ\", \"q\", \"f\", \"ʁ\", \"ʕ\", \"h\", \"χ\", \"ħ\", \"ʒ\", \"d\", \"ð\", \"tˁ\", \"k\", \"m\", \"n\", \"t\", \"ʔ\", \"l\", \"b\", \"s\", \"ʃ\", \"r\", \"p\", \"v\", \"g\", \"j\", \"w\"]\n\tstring = string.replace(\"ْ\", \"\")\n\tstring = string.replace(\"ˁæ\", \"ˁɐ\")\n\tstring = string.replace(\"bɐ\", \"bˁɐ\")\n\tstring = string.replace(\"rɐ\", \"rˁɐ\")\n\tstring = string.replace(\"lɐ\", \"lˁɐ\")\n\tstring = string.replace(\"mɐ\", \"mˁɐ\")\n\tstring = string.replace(\"nɐ\", \"nˁɐ\")\n\tstring = string.replace(\"zɐ\", \"zˁɐ\")\n\tstring = string.replace(\"ɐb\", \"ɐbˁ\")\n\tstring = string.replace(\"ɐr\", \"ɐrˁ\")\n\tstring = string.replace(\"ɐl\", \"ɐlˁ\")\n\tstring = string.replace(\"ɐm\", \"ɐmˁ\")\n\tstring = string.replace(\"ɐn\", \"ɐnˁ\")\n\tstring = string.replace(\"ɐz\", \"ɐzˁ\")\n\tfor l in letters:\n\t\tstring = string.replace(\"o\"+l+\"ɐ\", \"u\"+l+\"ɐ\")\n\t\tstring = string.replace(\"o\"+l+\"æ\", \"u\"+l+\"æ\")\n\t\tstring = string.replace(\"o\"+l+\"i\", \"u\"+l+\"i\")\n\t\tstring = string.replace(\"o\"+l+\"u\", \"u\"+l+\"u\")\n\t\tstring = string.replace(\"o\"+l+\"i\", \"u\"+l+\"i\")\n\t\tstring = string.replace(\"o\"+l+\"ɪ\", \"u\"+l+\"ɪ\")\n\t\tstring = string.replace(\"o\"+l+\"o\", \"u\"+l+\"o\")\n\t\tstring = string.replace(\"o\"+l+\"Ɛ\", \"u\"+l+\"Ɛ\")\n\t\tstring = string.replace(\"o\"+l+\"ɐ\", \"u\"+l+\"ɐ\")\n\t\tstring = string.replace(\"ɪ\"+l+\"æ\", \"i\"+l+\"æ\")\n\t\tstring = string.replace(\"ɪ\"+l+\"i\", \"i\"+l+\"i\")\n\t\tstring = string.replace(\"ɪ\"+l+\"u\", \"i\"+l+\"u\")\n\t\tstring = string.replace(\"ɪ\"+l+\"i\", \"i\"+l+\"i\")\n\t\tstring = string.replace(\"ɪ\"+l+\"ɪ\", \"i\"+l+\"ɪ\")\n\t\tstring = string.replace(\"ɪ\"+l+\"o\", \"i\"+l+\"o\")\n\t\tstring = string.replace(\"ɪ\"+l+\"Ɛ\", \"i\"+l+\"Ɛ\")\n\tstring = string.replace(\"ا\", \"ɪ\")\n\tstring = string.replace(\": \", \" \")\n\tvowels = [\"æ\", \"ɐ\", \"i\", \"u\"]\n\tfor v in vowels:\n\t\tstring = string.replace(v+\" e\", v+\" \")\n\tif (string[len(string)-1]==\":\"): string = string[:-1]\n\tif (string[len(string)-1]==\"i\"): string = string[:-1]+\"i\"\n\tif (string[len(string)-1]==\"Ɛ\"): string = string[:-1]+\"æ\"\n\tstring = string.replace(\"ttˤ\", \"tˤː\")\n\tstring = string.replace(\"tˤt\", \"tˤː\")\n\tstring = string.replace(\"χh\", \"χː\")\n\tstring = string.replace(\"χʁ\", \"χː\")\n\tstring = string.replace(\"tɡ\", \"dɡ\")\n\tstring = string.replace(\"fd\", \"vd\")\n\tstring = string.replace(\"ħh\", \"ħː\")\n\tstring = string.replace(\"nl\", \"lː\")\n\tstring = string.replace(\"sd\", \"zd\")\n\tstring = string.replace(\"td\", \"dː\")\n\tstring = string.replace(\"dt\", \"tː\")\n\tstring = string.replace(\"ln\", \"nː\")\n\tstring = string.replace(\"hʕ\", \"ħː\")\n\tstring = string.replace(\"tð\", \"dð\")\n\tstring = string.replace(\"hħ\", \"ħː\")\n\tstring = string.replace(\"nr\", \"rː\")\n\tstring = string.replace(\"nf\", \"mf\")\n\tstring = string.replace(\"qk\", \"qː\")\n\tstring = string.replace(\"kq\", \"qː\")\n\tstring = string.replace(\"lr\", \"rː\")\n\tstring = string.replace(\"ʁh\", \"χː\")\n\tstring = string.replace(\"ʕh\", \"ħː\")\n\tstring = string.replace(\"ʃd\", \"ʒd\")\n\tstring = string.replace(\"nb\", \"mb\")\n\tstring = string.replace(\"ʕħ\", \"ħː\")\n\tstring = string.replace(\"tz\", \"d͡z\")\n\tstring = string.replace(\"tʒ\", \"d͡ʒ\")\n\tstring = string.replace(\"fv\", \"v:\")\n\tvoiced = [\"b\", \"d\", \"ɡ\", \"d͡z\", \"ð\", \"z\", \"ʒ\", \"ʁ\", \"ʕ\"]\n\tfor vv in voiced:\n\t\tstring = string.replace(\"f\"+vv, \"v\"+vv)\n\tvoiceless = [\"p\", \"t\", \"k\", \"q\", \"ʔ\", \"f\", \"θ\", \"s\", \"ʃ\", \"χ\", \"ħ\", \"h\"]\n\tfor vl in voiceless:\n\t\tstring = string.replace(\"b\"+vl, \"p\"+vl)\n\treturn string\t"
        }
    },
    "Z2K3": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11",
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1002",
                "Z11K2": "Phonetic transcription of Tunisian, python"
            }
        ]
    },
    "Z2K4": {
        "Z1K1": "Z32",
        "Z32K1": [
            "Z31"
        ]
    },
    "Z2K5": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11"
        ]
    }
}