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

词典能不能直接读取数据库代替 #55

Open
mengyong1992 opened this issue Jan 3, 2018 · 2 comments
Open

词典能不能直接读取数据库代替 #55

mengyong1992 opened this issue Jan 3, 2018 · 2 comments

Comments

@mengyong1992
Copy link

作者大牛您好,我现在做的一个项目需要有管理词库的功能,管理员需要能够随时编辑修改删除词以及词的类型,所以我在想,如果能不能直接从数据库读取词库,我看了一下您的分词器的词典API,并没有数据库的接口,都是读取文件,所以想来问一下,如果我改源码的话,需要怎么操作,作者大大能提示下吗?
ps:我在分词这边刚接触不久,了解的不多,只是百度谷歌搜了一下没有相关的文章所以就冒昧来问了。如果已经有成熟的技术 或者您的分词器有这个功能了,能不能提示一下。在此先谢谢了~

@YLongo
Copy link

YLongo commented Jan 10, 2018

可以选择将词典的路径设置为 http,然后通过作者的另一个项目去管理词库 https://github.com/ysc/word_web/

@mengyong1992
Copy link
Author

@volong 谢谢

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

2 participants