KeyHandler // Bind mgrPrefs.useScoreBalancing option.
This commit is contained in:
parent
2b786b2356
commit
51fa28557b
|
@ -112,7 +112,9 @@ class KeyHandler {
|
|||
// of the best possible Mandarin characters given the input syllables,
|
||||
// using the Viterbi algorithm implemented in the Megrez library.
|
||||
// The walk() traces the grid to the end, hence no need to use .reversed() here.
|
||||
_walkedNodes = _builder.walk(at: _builder.grid.width, nodesLimit: 10, balanced: true)
|
||||
_walkedNodes = _builder.walk(
|
||||
at: _builder.grid.width, nodesLimit: 10, balanced: mgrPrefs.useScoreBalancing
|
||||
)
|
||||
}
|
||||
|
||||
var popOverflowComposingTextAndWalk: String {
|
||||
|
|
Loading…
Reference in New Issue