-
在 windows 中使用 opencc 只能通過完整路徑指定 config,否則只能把工作目錄設定到 config 目錄。也就是需要一個放置 config 的固定位置,以避免需要指定 config 的完整路徑的情況。
例如優先使用 opencc.exe 所在目錄下的 config
`-c s2t.json`:
1. "opencc.exe 所在目錄\s2t.json"
2. "opencc.…
-
這裏 is OpenCC and HK standard while 這裡 is TW standard
rime-cantonese gives 這裡
However, I cannot find this word in the dictionaries and have no idea how to fix
-
请教下
from opencc import opencc
出现module not found error:no module named opencc.怎么解决,
pip install opencc不行
-
松原市乾安县远辉新能源发展有限公司 转化成了 松原市干安县远辉新能源发展有限公司
const converter = OpenCC.Converter({ from: 'hk', to: 'cn' });
const result = converter('松原市乾安县远辉新能源发展有限公司');
console.log(result); // 结果为: 松原市干安县远辉新能源发展…
-
There is an error like this
```
File "/somewhere/miniforge3/lib/python3.10/site-packages/opencc/opencc.py", line 67, in convert
split_string_list = self.split_chars_re.split(string)
TypeErro…
-
查看日志报错如下:
```
make: *** [build] Error 1
Resource/build.sh: line 15: cd: /Users/Name/Documents/WorkSpaces/Xcode/Lyrics/Carthage/Checkouts/OpenCC/OpenCC/build/rel/data: No such file or directory
cp:…
-
只要 產生實例後 memory 就會長大
Opencc('t2s.json')
擇一暫時停用 opencc
```lua
-- rime.lua
Opencc= nil -- 禁用 opencc
-- bypass
Opencc= function(fn)
return {
convert= function(self,text) return…
-
不支持opencc吗?
-
Getting OSError on import opencc.
Environment details:
OS: MacOS Ventura 13.3.1
Python 3.10.9
>>> import opencc
Traceback (most recent call last):
File "", line 1, in
File "/Users/dan…
-
Can it be automatically converted from Simplified Chinese using [OpenCC](https://github.com/BYVoid/OpenCC)?
xicri updated
2 months ago