-
Notifications
You must be signed in to change notification settings - Fork 25
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
Korean #899
base: master
Are you sure you want to change the base?
Korean #899
Conversation
Awesome work! I just had time to go through, build and test your solution and it seems to work very well! With the layouts you created (here), I think the input is really smooth and natural! It deviates slightly from other popular Korean keyboards in two ways; this is not inherently a bad thing, but I figure I should mention them to add context. Notes on Implementation
ConclusionThis seems like usable with exactly what you have already. Feel free to ask questions if you'd like to try to implement the combiner feature separation that I mentioned. Otherwise, this is very functional as is and could be of great use, as-is. I think any further functionality or cleanup could be done down the line, but it'd be awesome to have this in the hands of users soon! Fortunately/unfortunately, I have no say-so here other than a personal endorsement and a thumbs-up. So consider this my unofficial ACK 👍 |
Thanks a lot for your feedback and appreciation. |
Sounds very reasonable! It seems it would likely require and update to the As far as using it vs disabling combining in Danmoeum: since it is practically imperative that doubling occurs on Danmoeum to match the common typing style, while on Dubeolsik the doubling is at most slightly uncomfortable. This seems like a good option for now! I did think of one other option potentially: doubled consonants, if you add a space without a subsequent vowel, it could be be expanded into two consecutive consonants. For example |
@@ -58,6 +59,7 @@ public CombinerChain(final String initialText) { | |||
mCombiners = new ArrayList<>(); | |||
// The dead key combiner is always active, and always first | |||
mCombiners.add(new DeadKeyCombiner()); | |||
mCombiners.add(new KoreanCombiner()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of adding it by default for all layouts, you can now add it as an enum here
DeadKey({ DeadKeyCombiner() }), |
And specify in the layout that you want to use that combiner by the enum name you defined
val combiners: List<CombinerKind> = listOf(CombinerKind.DeadKey) |
You can specify different combiners for different layouts now too, if they need to have different combining rules
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much for this. This changes everything
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Now there are 2 combiners: |
It seems to work, but more testing and code cleanup is needed