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

个性化分词模型加入后,分词无效 #100

Open
djblovecxc opened this issue Jul 25, 2017 · 1 comment
Open

个性化分词模型加入后,分词无效 #100

djblovecxc opened this issue Jul 25, 2017 · 1 comment

Comments

@djblovecxc
Copy link

我自己训练的model,通过CustomizedSegmentor 加载过后 在windows出错,CustomizedSegmentor: Model not loaded! 但是放到linux上就不会有问题出现在model加载不了的情况,但是分词就不起作用了,传一个句子进去分词,返回的是整个句子,并没有进行分词处理,我模型是3.3.1 otcws是3.4.0

@hitweijinlong
Copy link

模型 3.4.0 otcws3.4.0 otcws customized-learn 其中 --baseline-model 指定为cws.model ,训练出来增量模型通过CustomizedSegmentor加载之后传一个句子进去分词,返回的是整个句子,并没有进行分词处理,用otcws learn 指定 --dump-details true 训练自己的模型文件,再通过 otcws customized-learn 训练增量模型啊发现可以正常工作,请问是否 --baseline-model 不能指定为cws.model ?能否有解决方案,支持增加模型可成功执行

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