Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

每次都要重复加载词典,加载词典时间又很长 #52

Open
wuknet opened this issue Sep 13, 2019 · 2 comments
Open

每次都要重复加载词典,加载词典时间又很长 #52

wuknet opened this issue Sep 13, 2019 · 2 comments

Comments

@wuknet
Copy link

wuknet commented Sep 13, 2019

我刚刚学习golang,看到这个分词很好,但是每次点一下网页都加一次词典,再分词。好慢。golang中是如何保存这个加载结果,每次访问可以重复调用的呢?请指教呀。

@ff678liu
Copy link

ff678liu commented Nov 6, 2019

你不会开一个http sever 用接口

@itcuihao
Copy link

全局变量了解下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants