gocc
gocc copied to clipboard
Golang version OpenCC 繁簡轉換
Results
7
gocc issues
Sort by
recently updated
recently updated
newest added
2022/07/21 10:13:22 open config\t2s.json: The system cannot find the path specified.
``` 2022/05/08 08:23:58 open config/s2t.json: no such file or directory exit status 1 Error: Process completed with exit code 1. ```
gocc.New("t2s"), 报错路径:/Users/xx/go/src/github.com/liuzl/gocc/config/t2s.json 实际路径:/Users/xx/go/pkg/mod/github.com/liuzl/[email protected]/config 另外 config 中的 json 文件应该如何部署?
add global config path to specify dictionary/config path
如上图,Convert函数里 slicerunetostring, encoderune 占用了大量的CPU,导致性能很不好。可以优化一下。