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

Fix okuri-ari entry dictionary edit #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

buzztaiki
Copy link

It fixes #77

The following seemed to be the cause:

  • candidate.midasi was using the value of state.get_yomi, so this value was ぐぐ*る.
  • candidate.output did not have a okuri-gana, so this value was ググ.

I Extract the code for SelectStateHandler to generate midasi as State.get_midasi. and use it in Context.
And also I append state.okuri_rom_kana_converter.output to the output text when okuri is true.

Copy link
Owner

@ueno ueno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a clean fix to me; thanks!

@buzztaiki
Copy link
Author

Thanks for your approval!

@buzztaiki
Copy link
Author

CI doesn't seem to be running... 😕

@buzztaiki
Copy link
Author

It looks like the setting needs to be migrated since June 2021.

https://docs.travis-ci.com/user/migrate/open-source-repository-migration

@ueno
Copy link
Owner

ueno commented Nov 21, 2021

Yeah, indeed; I've just opened #81.

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

Successfully merging this pull request may close these issues.

Unexpected dictionary registration behavior with okuri-ari entry
2 participants