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

Converter to sound classes #3

Open
PhyloStar opened this issue Feb 22, 2017 · 1 comment
Open

Converter to sound classes #3

PhyloStar opened this issue Feb 22, 2017 · 1 comment

Comments

@PhyloStar
Copy link
Owner

IPA to ASJP, IPA to SCA. Add a separate class for converting the original IPA data to sound classes.

@Anaphory
Copy link
Collaborator

Anaphory commented Jun 5, 2017

While it isn't a class, there is the ipa2asjp module, which would in principle be the right place to have those functions. (and ipa2asjp and ipa2sca exist in there, as well as effectively two ipa2ipa functions for tokenizing IPA strings cleanly, with and without removing syllable boundary markers etc.)

On the other hand, the readers in read_data_cldf are currently hard-coded for doing either IPA or ASJP transcription, and the logic is to take it from a column, with a fallback of automatically converting IPA to ASJP. I'm not sure what the best logic for those functions would be – what do you think of supplying them with a column name ('IPA' or 'ASJP') and a segmenter (lingpy.ipa2tokens, ipa2asjp.tokenize_word_reversibly, ipa2asjp.ipa2sca or None for “Just use the string as a sequence”)?

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

2 participants