Skip to content

能否提供一下字典的格式 #2

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

Open
GrandKai opened this issue Dec 7, 2017 · 3 comments
Open

能否提供一下字典的格式 #2

GrandKai opened this issue Dec 7, 2017 · 3 comments

Comments

@GrandKai
Copy link

GrandKai commented Dec 7, 2017

有个使用用户字典的范例更是极好的

@GrandKai GrandKai changed the title 能发提供一下字典的格式 能否提供一下字典的格式 Dec 7, 2017
@phylieac
Copy link
Contributor

phylieac commented Dec 7, 2017

用户词典是txt,一行一个词,和词性用空格隔开,如:
中国 ns
注意txt文本的编码要个初始化指定的编码一致

@GrandKai
Copy link
Author

GrandKai commented Dec 8, 2017

哥哥有文档没有啊,跑demo起来太费劲了

@phylieac
Copy link
Contributor

phylieac commented Dec 8, 2017

文档暂时没有整理出来,其实很简单,只是需要把相应的依赖放到索引库的lib里,和在配置文件里指定Data和用户词典的路径,

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