mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
* commit '56fab87b522af2bab1e1424b6980ac47d053af57': Fix autocompletion lookahead handling
This commit is contained in:
commit
5d8638e41c
@ -229,7 +229,7 @@ static inline void profile(const CorrectionType correctionType, DicNode *const n
|
||||
case CT_MATCH:
|
||||
return 1;
|
||||
case CT_COMPLETION:
|
||||
return 0;
|
||||
return 1;
|
||||
case CT_TERMINAL:
|
||||
return 0;
|
||||
case CT_NEW_WORD_SPACE_SUBSTITUTION:
|
||||
|
@ -41,8 +41,8 @@ const float ScoringParams::SUBSTITUTION_COST = 0.363f;
|
||||
const float ScoringParams::COST_NEW_WORD = 0.024f;
|
||||
const float ScoringParams::COST_NEW_WORD_CAPITALIZED = 0.174f;
|
||||
const float ScoringParams::DISTANCE_WEIGHT_LANGUAGE = 1.123f;
|
||||
const float ScoringParams::COST_FIRST_LOOKAHEAD = 0.462f;
|
||||
const float ScoringParams::COST_LOOKAHEAD = 0.092f;
|
||||
const float ScoringParams::COST_FIRST_LOOKAHEAD = 0.545f;
|
||||
const float ScoringParams::COST_LOOKAHEAD = 0.073f;
|
||||
const float ScoringParams::HAS_PROXIMITY_TERMINAL_COST = 0.126f;
|
||||
const float ScoringParams::HAS_EDIT_CORRECTION_TERMINAL_COST = 0.056f;
|
||||
const float ScoringParams::HAS_MULTI_WORD_TERMINAL_COST = 0.536f;
|
||||
|
Loading…
Reference in New Issue
Block a user