8000 GitHub - lascape/sat: 高性能简繁体转换
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lascape/sat

Repository files navigation

高性能的简繁体转换

基本使用方式

dicter := DefaultDict()
dicter.Read("什麼")
dicter.ReadReverse("什么")

支持自定义加载词库

DefaultDict(SetPath("/users/go/src/xxx.txt"))

性能测试

goos: darwin
goarch: amd64
pkg: github.com/go-creed/sat
BenchmarkNewDict
BenchmarkNewDict-12    	14721091	        71.2 ns/op
PASS

About

高性能简繁体转换

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages

0