KeyHandler // Enlarge walk range from 3 to 10.

This commit is contained in:
ShikiSuen 2022-05-21 17:02:38 +08:00
parent 494e9cf637
commit 6ef9e59c7f
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ 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: 3, balanced: true)
_walkedNodes = _builder.walk(at: _builder.grid.width, nodesLimit: 10, balanced: true)
}
func popOverflowComposingTextAndWalk() -> String {