![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
输入法
搬砖道人
这个作者很懒,什么都没留下…
展开
-
搜狗细胞词库解析(仅提取词和词频)
#pragma once#include <string>#include <list>#include <fstream>struct Data {public: Data(std::wstring _word, UINT16 count) :word(_word), byRate(count) { if (byRate > 250) byRate = 250; } std::wstring word;//词 BYTE byRat.原创 2021-08-26 22:01:42 · 852 阅读 · 1 评论 -
输入法实现UILess
1、使用ITfCategoryMgr的RegisterCategory方法注册GUID_TFCAT_TIPCAP_UIELEMENTENABLED。注意些处需要自己判断操作系统版本,win8及以后的版本才支持。2、实现ITfCandidateListUIElement接口。些接口有三个最主要的方法BeginUIElement、UpdateUIElement、EndUIElement。首先当你的输入法注册一中的GUID表明自己可以支持UILess后,如果软件本身实现支持UILess,那么它会在调用A.原创 2021-05-11 10:01:00 · 312 阅读 · 0 评论