mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-06 00:45:32 +00:00
change(web): api compat with LMLayer SMP fixes
This commit is contained in:
parent
5cc282c660
commit
19bb5e07d7
1 changed files with 2 additions and 2 deletions
|
|
@ -108,9 +108,9 @@ namespace com.keyman.text.prediction {
|
|||
// Establishes KMW's platform 'capabilities', which limit the range of context a LMLayer
|
||||
// model may expect.
|
||||
let capabilities: Capabilities = {
|
||||
maxLeftContextCodeUnits: 64,
|
||||
maxLeftContextCodePoints: 64,
|
||||
// Since the apps don't yet support right-deletions.
|
||||
maxRightContextCodeUnits: keyman.isEmbedded ? 0 : 64
|
||||
maxRightContextCodePoints: keyman.isEmbedded ? 0 : 64
|
||||
}
|
||||
|
||||
if(!this.canEnable()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue