feat(typing): add English autocomplete and Chinese candidate expand panel

Offline English lexicon suggestions with autocapitalization, plus a same-height Chinese more-candidates grid over the key area.
This commit is contained in:
Rocky
2026-08-03 18:30:20 +08:00
parent d1e5fed964
commit 38e5ad570d
35 changed files with 5086 additions and 179 deletions
+13 -5
View File
@@ -1,15 +1,15 @@
# Third-party notices — Typing keyboard
The generated source manifest is
The generated Chinese source manifest is
`OSGKeyboardShared/Resources/Typing/Rime/manifest.json`. Exact librime
binary dependency licenses are bundled beside `NOTICE.txt`.
## Distributed components
## Distributed components (Chinese IME)
| Component | Pinned version / commit | License | Purpose |
|-----------|-------------------------|---------|---------|
| [librime-xcframework](https://github.com/ghostflyby/librime-xcframework) | `1.17.0-pack.1`, package `d578192…` | BSD-3-Clause + bundled dependency notices | Static iOS librime runtime |
| [rime/librime](https://github.com/rime/librime) | `1.17.0` | BSD-3-Clause | Input-method engine |
| [rime/librime](https://github.com/rime/librime) | `1.17.0` | BSD-3-Clause | Chinese input-method engine |
| [rime-pinyin-simp](https://github.com/rime/rime-pinyin-simp) | `0c6861e…` | Apache-2.0 | Permissive baseline dictionary |
| [fxsjy/jieba](https://github.com/fxsjy/jieba) | `67fa2e3…` | MIT | Modern Simplified-Chinese word frequencies |
| [phrase-pinyin-data](https://github.com/mozillazg/phrase-pinyin-data) | `cee0ed6…` | MIT | Phrase pronunciations |
@@ -21,12 +21,20 @@ commit, SHA-256 and output SHA-256.
## OSG-owned pieces
- SwiftUI QWERTY / candidate UI and `RimeEngineBridging`.
- Objective-C++ C-API bridge.
- SwiftUI QWERTY / candidate UI, `RimeEngineBridging`, and the English
suggestion / autocorrect / next-word session layer.
- Objective-C++ C-API bridge for librime.
- Full-pinyin, Microsoft-double-pinyin and Sogou-double-pinyin schemas.
- Microsoft/Sogou mappings were independently encoded from public key-map
specifications; GPL schema files were not copied.
- Eight opt-in fuzzy-pinyin rule groups.
- Offline English typing data under
`OSGKeyboardShared/Resources/Typing/English/`:
- `english_lexicon.tsv` — curated word list with synthetic relative
frequency ranks for autocomplete / autocorrect
- `english_bigrams.tsv` — light next-word candidates
- Not derived from GPL/LGPL dictionaries; ranks are ordering weights,
not a single third-party corpus dump
## Reference only