feat(dictionary): add iCloud KVS sync, cloud ASR, and lexicon expansion
Mirror the personal dictionary through iCloud Key-Value Store with deterministic merge rules, main-app-only sync UI, and App Group as the keyboard runtime cache. Add cloud-engine ASR with dictionary bias and expand the bundled custom language model lexicon.
This commit is contained in:
@@ -39,7 +39,7 @@ final class FlowSessionManager: ObservableObject {
|
||||
private var sessionASRWarmedLocaleID: String?
|
||||
private var asr: ASRService {
|
||||
if let sessionASR { return sessionASR }
|
||||
let service = ASRServiceFactory.make()
|
||||
let service = ASRServiceFactory.make(store: store)
|
||||
sessionASR = service
|
||||
return service
|
||||
}
|
||||
@@ -342,7 +342,7 @@ final class FlowSessionManager: ObservableObject {
|
||||
return
|
||||
}
|
||||
sessionASR?.cancel()
|
||||
sessionASR = ASRServiceFactory.make()
|
||||
sessionASR = ASRServiceFactory.make(store: store)
|
||||
sessionASREngineMode = engineMode
|
||||
sessionASRWarmedLocaleID = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user