Repository navigation
英語予測で単語候補を優先 / Rank English word completions before phrases - #1272
Merged
Merged
Conversation
This file contains hidden or 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
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.
日本語
英語予測で空白をまだ入力していないときは、単語候補を未完の複数語フレーズより先に表示します。登録フレーズ用の候補枠も残します。
従来は空白なしの入力を辞書の複数語表記に照合し、フレーズの先頭語を入力済みと判定すると単語の辞書コストにかかわらずフレーズを優先していました。たとえば
jaはj a…と照合され、コスト 6000 のJ and C Carmichaelがコスト 1600 のJavaより先に出ていました。jaJ and C CarmichaelJava、14番目J and C CarmichaelautoAuto 5000、3番目auto loanAutoCAD、autocorrect、automatically、automatic。14・15番目Auto 5000、auto loanauto lのように空白を入力した場合はフレーズを優先できます。autoloanのように登録フレーズの文字をすべて入力した場合も、auto loanを選べます。English
For input without spaces, English prediction now lists standalone word candidates before unfinished multiword phrases and retains slots for registered phrases farther down the list.
Previously, the matcher could infer a word boundary from unspaced input. Once it considered the first word of a registered phrase fully typed, it promoted the phrase ahead of word completions regardless of dictionary cost. For example,
jamatchedj a…, soJ and C Carmichaelat cost 6000 outrankedJavaat cost 1600.jaJ and C CarmichaelJava, #14J and C CarmichaelautoAuto 5000, #3auto loanAutoCAD,autocorrect,automatically,automatic. #14–15Auto 5000,auto loanTyping a space, as in
auto l, can still putauto loannear the top. Fully typed registered aliases such asautoloanstill offer the spaced spellingauto loan.検証 / Verification
jaとautoの並びを確認。 Compared the actual English QWERTY candidate strip before and after on a Pixel 6 running Lite Standard Debug. Also checkedjaandautowith candidate tabs and live conversion enabled.