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

关于人名UV拆分优化建议(按格式重提) #880

Closed
1 task done
wchnjstar123 opened this issue Jul 9, 2018 · 1 comment
Closed
1 task done

关于人名UV拆分优化建议(按格式重提) #880

wchnjstar123 opened this issue Jul 9, 2018 · 1 comment

Comments

@wchnjstar123
Copy link

wchnjstar123 commented Jul 9, 2018

注意事项

请确认下列注意事项:

  • 我已仔细阅读下列文档,都没有找到答案:
  • 我已经通过Googleissue区检索功能搜索了我的问题,也没有找到答案。
  • 我明白开源社区是出于兴趣爱好聚集起来的自由社区,不承担任何责任或义务。我会礼貌发言,向每一个帮助我的人表示感谢。
  • 我在此括号内输入x打钩,代表上述事项确认完毕

版本号

当前最新版本号是:1.6.6
我使用的版本是:1.6.4

我的问题

例1:龚学平等表示会保证金云鹏的安全
例2:王中军代表蓝队发言
此两种情况,人名识别错误。

复现问题

步骤

触发代码

PersonDictionary的parsePattern函数,在进行拆分时,遗漏词语。
如例1 的语句,"保证金",当识别出人名金云、金云鹏时,需要将“保证”添加到细分词图中。同理例2中的“军代表”也需要做相应处理。

期望输出

例1:龚学平等表示会保证金云鹏的安全
[龚学平/nr, 等/udeng, 表示/v, 会/v, 保证/v, 金云鹏/nr, 的/ude1, 安全/an]

例2:王中军代表蓝队发言,分词结果为
[王中军/nr, 代表/nnt, 蓝队/n, 发言/vi]

实际输出

[龚学平/nr, 等/udeng, 表示/v, 会/v, 保证金/n, 云/vg, 鹏/ng, 的/ude1, 安全/an]
[王中/nr, 军代表/nnt, 蓝队/n, 发言/vi]

其他信息

@wchnjstar123 wchnjstar123 changed the title 关于人名UV拆分优化建议(重提) 关于人名UV拆分优化建议(未按要求重提,不知是否符合?) Jul 9, 2018
@wchnjstar123 wchnjstar123 changed the title 关于人名UV拆分优化建议(未按要求重提,不知是否符合?) 关于人名UV拆分优化建议(未按要求填写,故重提,不知是否符合?) Jul 9, 2018
@wchnjstar123 wchnjstar123 changed the title 关于人名UV拆分优化建议(未按要求填写,故重提,不知是否符合?) 关于人名UV拆分优化建议(按格式重提) Jul 10, 2018
Repository owner deleted a comment from AIwem Jul 15, 2018
@hankcs hankcs closed this as completed in a2d3b4a Jul 15, 2018
@hankcs
Copy link
Owner

hankcs commented Jul 15, 2018

感谢反馈,已经修复,请参考上面的commit。
如果还有问题,欢迎重开issue。

hankcs added a commit that referenced this issue Jan 10, 2020
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