OpenCC
OpenCC copied to clipboard
Conversion between Traditional and Simplified Chinese
比如:“乾闥婆”繁体转简体后是“干闼婆”,实际是“乾闼婆”
针对简体转台湾繁体: "几分钟" 转换出来是 "幾分鐘" 但"短短几分钟"转换出来是 "短短几分鐘" 几这个字没有被转换 import opencc converter = opencc.OpenCC('s2tw.json') str_ = '只需要短短几分钟' print(converter.convert(str_))
「道咸」为「道光」、「咸丰」之并称,如《[道咸宦海见闻录](https://zh.wikipedia.org/zh-cn/%E9%81%93%E5%92%B8%E5%AE%A6%E6%B5%B7%E8%A6%8B%E8%81%9E%E9%8C%84)》,目前错误地转换为「道鹹」
在t2s中,似乎是直接把 “藉着” 转 “借着” 了,忽略了“慰藉”。
node-pre-gyp WARN Tried to download(404): https://github.com/BYVoid/OpenCC/releases/download/1.1.3/opencc-v1.1.3-node-v72-darwin-x64.tar.gz
`node-pre-gyp` is deprecated. Quoted from https://www.npmjs.com/package/node-pre-gyp: > Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
mingw32 opencc 1.1.6 on Windows ``` opencc -i a.txt -c t2s t2s not found or not accessible. ``` opencc cannot find the t2s.json unless I specify an absolute path of...
Last night my friend showed me this repo, and I found a typo error in the data. According to [教育部國語辭典](https://dict.revised.moe.edu.tw/dictView.jsp?ID=158314&q=1&word=%E5%BD%B1%E5%83%8F), the correct word should be 像 not the 象. Fixed...
Is it possible to provide completions for common shells? TIA!