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

[Japanese]: Prolonged sound mark (ー) should be expanded into both お and う #1520

Open
parfait8566 opened this issue Oct 21, 2024 · 2 comments
Labels
area/linguistics The issue or PR is related to linguistics language/japanese

Comments

@parfait8566
Copy link

Currently the 長音符 expands only into う.
Looking up おーさか will only find おうさか, not おおさか. It should be able to handle both.

@parfait8566 parfait8566 added the area/linguistics The issue or PR is related to linguistics label Oct 21, 2024
@austinyu12
Copy link

Looking up おーさか
Hi, I am unfamiliar with linguistic side of Yomitan development was curious what this meant. My first thought is that it means scanning "おーさか" with Yomitan would query your dictionaries for any text that is "おーさか" or "おうさか". Somewhere there is a text normalizer(?) where when we encounter "お" followed by a "ー", we also want to convert to an "お" .

@parfait8566
Copy link
Author

scanning "おーさか" with Yomitan would query your dictionaries for any text that is "おーさか" or "おうさか". Somewhere there is a text normalizer(?) where when we encounter "お" followed by a "ー", we also want to convert to an "お" .

I think the way Yomitan works is that initially it only searches for direct matches (in this case おーさか). After that it expands ー into う. It'd be useful if it expanded into お as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/linguistics The issue or PR is related to linguistics language/japanese
Projects
None yet
Development

No branches or pull requests

3 participants