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

our use of 6 for schwa is nonstandard #1

Open
tjmahr opened this issue Sep 25, 2015 · 0 comments
Open

our use of 6 for schwa is nonstandard #1

tjmahr opened this issue Sep 25, 2015 · 0 comments

Comments

@tjmahr
Copy link
Member

tjmahr commented Sep 25, 2015

library("worldbet")
test <- c("bod6jaU","dEgd6ne","vIt6gap","nUb6m6n","motaUk","twEd6mIn")
convert_bet_to_ipa(test)
#[1] "bod"    "dɛgd"   "vɪt"    "nʊb"    "motaʊk" "twɛd" 

Symbol by symbol conversion ends when a match for 6 is not found in the conversion table.

A few different ways to fix this in order of difficultly:

  • Add 6 = schwa to table. 6 current handles to the non-English /ɶ/
  • Keep the unmatchable WorldBet in the string, but issue a warning.
  • Allow users to register their own conversions in the table. Would require a rewrite of the functions, because these conversions are looked up from internal data structures.

I'll do the first for now.

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