Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The tokenizer for git-apa is broken. #204

Open
joanise opened this issue Nov 7, 2022 · 0 comments
Open

The tokenizer for git-apa is broken. #204

joanise opened this issue Nov 7, 2022 · 0 comments

Comments

@joanise
Copy link
Collaborator

joanise commented Nov 7, 2022

In the git -> git-apa mapping, ? and ' are both letters, e.g., as evidenced by these first two rules in mappings\langs\git\RAPA_Deterministic.csv:

\?{1},ʔ{1}
'{1}l{2},l{2}\u02C0{1}

but the tokenizer does not recognize either character as a letter:

$ g2p convert   "a'?a" git git-apa
æ'ʔ
$ g2p convert  --tok "a'?a" git git-apa
æ'?æ

When adding the --debugger option, we can see that g2p is tokenizing a'?a into a and a separated by non-word characters '?.

Issue discovered while confirming that ReadAlongs/Studio#18 was indeed fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant