-
Notifications
You must be signed in to change notification settings - Fork 8
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
数値変換の簡易な対応 #55
Merged
Merged
数値変換の簡易な対応 #55
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
どっちも手元だと問題ないんだけどなんでだろう。
|
手元のmacOS 13.6 + Xcode 14.3.1 + Swift 5.8.1 (Apple Silicon) だと |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
だい#かい /第#1回/第#0回/第#2回/第#3回/第 #0 回/
のような読みに数値を含む変換に一部対応しました。タイプが0, 1, 2, 3, 4, 5, 8, 9の8種類くらいあるようですが、
#4
と#5
以外に対応しました。https://ddskk.readthedocs.io/ja/latest/06_apps.html#number-conv
ユーザー辞書に保存する変換結果は読みが
だい#
、変換候補が第#1
のような "#" を含むものになるようにします。補完候補には数値変換は登場しません。これは
#
ありの読みを補完されてもしょうがないし、#
を実際の数値に変換した読みはユーザー辞書に保持していないためです。SKK-JISYO.Lには "だい#" の変換候補として "第" のように "#" をなぜか含まないものがありますが、読みと変換候補にあらわれる "#" の数が合わないときはすべて異常な辞書エントリとして変換候補に含めないことにしています。
AquaSKKは "第" を変換候補に出してくれるみたい。