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

Standardize input representation of phonemes #14

Open
timmahrt opened this issue Oct 30, 2021 · 1 comment
Open

Standardize input representation of phonemes #14

timmahrt opened this issue Oct 30, 2021 · 1 comment

Comments

@timmahrt
Copy link
Owner

Phones in the ISLE dictionary are in IPA. There is no constraint about what the input to ISLE is. pysle tries to smudge the input to be ipa-like but this is kindof hidden to the user. Non-IPA representations probably work sometimes but this is a dangerous assumption.

It's also possible that some parts of the code forgot this fact and assume the input is NOT IPA.

The input representation /is/ preserved in the output, so that is good at least.

Seems like a headache to validate everything is working ok.

@timmahrt
Copy link
Owner Author

timmahrt commented Jan 1, 2022

After closer investigation

  • the isle dict itself is IPA
  • there is IPA-specific code (eg search functionality)
  • most code is representation-neutral, although using non-IPA will lead to silently degraded/unexpected results

Helpful action items:

  • Requiring IPA (or requiring a switch so the user has to acknowledge the risk ie ipaInput attributes)
  • Conversion tools for switching between representations

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