C++实现敏感词过滤(1) TrieNode类的实现

一.以utf16编码的两个字节做为一个敏感词单元,定义TrieNode类:函数 TrieNode.h:编码 class Trie;spa class TrieNode {.net friend class Trie;get typedef std::map<std::string, TrieNode> _TrieMap;string Typedef std::map<std::string,Tri
相关文章
相关标签/搜索