The crk to crk-no-symbols mapping uses escape special to be able to map & to êkwa before we proceed to IPA.
When we run g2p convert '&' crk crk-no-symbols we get êkwa as expected.
However, in the g2p-studio, if you select input language = crk and put & in the text to convert, the output is simply &, unmapped. If you disable the Escape Special checkbox, or change \& back to & in the rule table, then things work, but with the default settings we're effectively escaping the specials twice. Indeed, the input \& gets mapped to êkwa.
Studio needs to make sure escape special is not applied twice: in change_table, what is loaded needs to be the raw table, unescaped, since escape special semantics are applied in convert() in app.py.
The
crktocrk-no-symbolsmapping uses escape special to be able to map&toêkwabefore we proceed to IPA.When we run
g2p convert '&' crk crk-no-symbolswe getêkwaas expected.However, in the g2p-studio, if you select input language =
crkand put&in the text to convert, the output is simply&, unmapped. If you disable the Escape Special checkbox, or change\&back to&in the rule table, then things work, but with the default settings we're effectively escaping the specials twice. Indeed, the input\&gets mapped toêkwa.Studio needs to make sure escape special is not applied twice: in
change_table, what is loaded needs to be the raw table, unescaped, since escape special semantics are applied inconvert()inapp.py.