OpenCC icon indicating copy to clipboard operation
OpenCC copied to clipboard

Conversion between Traditional and Simplified Chinese

Results 213 OpenCC issues
Sort by recently updated
recently updated
newest added

Implements `PEP 656` implicitly. Solves: `whl` installation fails in `python:alpine` image. This may also merges #716. But I do not have a macOS device to check if it works 👀...

我尝试在我的项目中引入这个项目进行自动构建,在作为静态编译,并构建一个我的一个插件时,发现了一些运行时的问题。当我打开程序并激活插件时,它是正常的。在运行到 `opencc::SimpleConverter converter("s2t.json");` 处它就直接闪退了。这也许是我的构建错误,但它是一个被隐藏在 opencc 中 ver.1.1.6 之前版本的一处失误。(注: 我是第一次使用 opencc 并简单的写了一个例子) ``` $ ./build/Notepad-- ./build/Notepad--: symbol lookup error: ./build/plugin/libopencc-demo.so: undefined symbol: _ZN6marisa4TrieC1Ev ``` 对比了当前项目中几个不同的提交,并查看了从 master 最新至 release 发布的 ver.1.1.6 的中间部分提交,有些不同。...

Error relocating /usr/lib/libopencc.so.1.1: _ZSt28__throw_bad_array_new_lengthv: symbol not found Error relocating /usr/bin/opencc: _ZSt28__throw_bad_array_new_lengthv: symbol not found ![image](https://user-images.githubusercontent.com/2922399/226536070-39b6ac5a-e102-40dd-b1bb-a9bc07352601.png)

https://pypi.org/ does not have bulit distributions for Windows since version 1.1.2 and the latest version which can be installed by pip in Windows is 1.1.1. Is it possible to upload...

Now “内卷” `s2t`, `s2tw`, `s2hk` are all “內卷”, which should be “內捲”.

「蔉𥕦」「磙蓘」嚴格來不算繁簡關係,而應該屬於字形分別。但是目前 opencc 將「滾袞」「滚衮」當成繁簡關係。

The definition of “揹”-included phrases (of `s2t`) are around [here](https://github.com/BYVoid/OpenCC/blob/982c74f45d0ca314e71aecf77362fc10b0a8ea90/data/dictionary/STPhrases.txt#L39327). But there isn’t `揹 背` in [`TSCharacters.txt`](https://github.com/BYVoid/OpenCC/blob/master/data/dictionary/TSCharacters.txt). To reproduce: ``` $ echo "背包" | opencc -c s2t.json | opencc -c...

输入简体的“抬头” 使用 hk2s.json 或者 tw2sp.json 输出都是 "擡头" (错误) 使用 t2s.json 输出 “抬头” (正确)

做了个网站,纯前端wasm转换繁简https://my-opencc.vercel.app/ 支持全部14个json配置 代码:https://github.com/LibreService/my_opencc 想把wasm构建部分合并到上游 跟https://github.com/oyyd/wasm-opencc 的区别: * 使用wasm而非asm.js * 仅改动最外层`CMakeLists.txt`~和`Makefile`~;wasm-opencc的改动比较大,基本没法合并 * 依赖最新的emscripten工具链