2025年10月27日
摘要: 网上许多trie施肥很足,比如C++版参数是string而不是const string&, Python版不用dict class TrieNode: def __str__(this): return str((id(this) - id(root)) // 64) def __init__(th 阅读全文
posted @ 2025-10-27 23:25 华容道专家 阅读(3) 评论(0) 推荐(0)
摘要: 如题。烂代码分别如下: <pre style='display:none'> <img id=tile1 src='data:image/gif;base64,R0lGODlhMgA9APcAAAAAAAAMAAwMDAEUAQAaABMTExsbGwArAAAmAAA8AAA1AB8gHyIiIi 阅读全文
posted @ 2025-10-27 19:36 华容道专家 阅读(5) 评论(0) 推荐(0)
摘要: apt source libsunpinyin3v5 下载到当前目录下。 src/sunpinyin-dictgen是个有shebang的Makefile: #!/usr/bin/make -f W3M = wget -q -O - DL_LIST = https://sourceforge.net 阅读全文
posted @ 2025-10-27 19:25 华容道专家 阅读(7) 评论(0) 推荐(0)
摘要: libgooglepinyin-0.1.2/data里:rawdict_utf16_65105_freq.txt和rawdict_utf16_65105_freq.be.txt,be是big endian的缩写。 欧美国家 141.29744947 0 ou mei guo jia ou mei g 阅读全文
posted @ 2025-10-27 16:01 华容道专家 阅读(6) 评论(0) 推荐(0)
摘要: const char* NM[][4] = { {"曹","贼","真","爽"}, {"西","施"}, {"昭","君"}, {"貂","蝉"}, {"甄","姬"}, {"玉","环"}, {"美"}, {"美"}, {"美"}, {"美&qu 阅读全文
posted @ 2025-10-27 08:23 华容道专家 阅读(31) 评论(0) 推荐(0)