Commit Graph
32 Commits
Author SHA1 Message Date
fanlusky 0eb5478cd3 Implement the whole-sentence algorithm and fuzzy query for Japanese. 2026-08-22 01:18:04 +08:00
fanlusky 27b0974be1 Add preliminary support for Japanese input. 2026-08-21 16:55:41 +08:00
fanlusky d9a7235919 Do not segmentation for help code part. 2026-08-16 03:04:02 +08:00
fanlusky 6f50814266 Add Microsoft Shuangpin scheme. 2026-08-10 01:54:27 +08:00
fanlusky f70d210465 In auxiliary code mode, AI prediction should not send requests, just like cloud prediction. 2026-07-31 16:12:03 +08:00
fanlusky a033f9d2c2 feat(composition): support phrase creation from incomplete pinyin
- continue phrase creation for abbreviated quanpin and shuangpin input
- preserve manual segmentation boundaries in the remaining input
- restrict helpcode detection to complete unsegmented pinyin
- accumulate and validate canonical pinyin before phrase insertion
- route completed phrases through canonical-pinyin storage
- add coverage for abbreviations, manual segmentation, and helpcodes
2026-07-29 19:53:21 +08:00
fanlusky 025f966a90 perf: reuse persistent database connections for fixed candidates 2026-07-27 20:46:49 +08:00
fanlusky 02d5a3ff37 fix(candwnd): measure and size candidate wrap at 600 DIP
Force wrap-aware measure, serialize FineTune after measure content
updates, and preserve flip-up host height via MarginTop.

feat: lazily load single-letter Pinyin candidates

- query the top 24 single-letter candidates from the database
- load the complete candidate list on the first page-down action
- apply the same behavior to Shuangpin and Quanpin
- resolve Shuangpin initials according to the active profile
- preserve candidate frequency adjustment and pinning
- disable deletion for single-letter candidates
- add regression tests for Shuangpin v-to-zh mapping and lazy expansion
2026-07-27 16:12:46 +08:00
fanlusky 3cbec4e790 Add caching to AI prediction results as well. 2026-07-19 23:00:18 +08:00
fanlusky 94a5ed3658 Support switching auxiliary code schemes. 2026-07-15 13:26:14 +08:00
fanlusky e417eaee64 Refactor to prepare for adding the Ziranma scheme. 2026-07-14 23:39:34 +08:00
fanlusky fe1cc4a1e1 Add support for the Wubi input method. 2026-07-13 18:35:52 +08:00
fanlusky cd833e7faf Synchronize the frontend auxiliary code switch with the actual functionality. 2026-07-11 16:27:09 +08:00
fanlusky 8829fd3326 Quanpin supports configuring auxiliary code hints and functionality based on help_code. 2026-06-28 23:05:53 +08:00
fanlusky e3317a248e Fix the issue where cloud prediction for engine and shuangpin is not stored in the database. 2026-06-25 23:21:28 +08:00
fanlusky 2d945d4533 Allow the single quote ' to manually segment pinyin. 2026-06-24 23:15:59 +08:00
fanlusky 2463d5486c The engine backend should also cache cloud prediction results, and ensure that filtering with auxiliary codes is consistent with legacy behavior. 2026-06-23 07:26:03 +08:00
fanlusky b956e0d453 Fix the issue where the auxiliary code is not cleared during full-pinyin word creation. 2026-06-22 20:49:19 +08:00
fanlusky 2d41bbb6c4 Fix the preedit behavior during full-pinyin word creation. 2026-06-22 12:37:55 +08:00
fanlusky 9c5127af98 Quanpin support creating words. 2026-06-22 01:32:40 +08:00
fanlusky 92f8858180 Separate the responsibility boundaries of quanpin_query and quanpin_utils. 2026-06-22 01:08:44 +08:00
fanlusky 77af7d7f26 Do not trigger cloud prediction when the full-pinyin auxiliary code is active. 2026-06-22 00:56:59 +08:00
fanlusky e31cd003b0 The auxiliary code can only be used when all full pinyin syllables are complete. 2026-06-22 00:51:07 +08:00
fanlusky 23b9b28f05 Add helpcode support for quanpin 2026-06-22 00:33:48 +08:00
fanlusky 6d606580e0 Fix the trigger condition for cloud prediction. 2026-06-20 21:38:38 +08:00
fanlusky 504ee31cf6 Add creating word support for new engine 2026-06-20 21:31:36 +08:00
fanlusky 46d8673058 engine+shuangpin support helpcodes 2026-06-20 20:44:03 +08:00
fanlusky 596ad619fb Make new engine support capital cases 2026-06-20 13:13:54 +08:00
fanlusky e7ed8f0301 Render shuangpin segmentation when shuangpin_preedit_mode is set to shuangpin 2026-06-20 11:21:30 +08:00
fanlusky b0f77a006a Add a switch to change preedit between quanpin and shuangpin 2026-06-19 23:13:34 +08:00
fanlusky 3dbe168da1 Start to support new-version engine 2026-06-19 23:01:50 +08:00
fanlusky 744e117f8f Refactor 2026-06-19 22:27:12 +08:00