hein accepted this revision. hein added a comment. This revision is now accepted and ready to land.
I'm very happy to see this. I opened a thread about this on k-c-d (I think) last year, but I didn't follow through with actual code. We have various search fields in KDE that do something like "only search on length > 3", and they fail miserably with CJK input. KRunner is one such example. The algorithm seems decent for now. It can always be refined later, once we have a central API for this. REPOSITORY R244 KCoreAddons BRANCH master REVISION DETAIL https://phabricator.kde.org/D8800 To: xuetianweng, hein, apol, #frameworks Cc: #frameworks