[[fetch]] from = "https://raw.githubusercontent.com/t92jp/ipa2tipa/main/" files = ["ipa2tipa.py", "uni2tipa/uni2tipa0.csv", "uni2tipa/uni2tipa1.csv", "uni2tipa/uni2tipa2.csv", "uni2tipa/uni2tipa-supsub.csv", "uni2tipa/uni2tipa-tone.csv"]

IPA to TIPA

from ipa2tipa import IPA from pyscript import Element def click(): in_ipa = Element("in_ipa") display(f"{in_ipa.value} -> {IPA(in_ipa.value).to_tipa()}", target="result")