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

命名实体识别可以增加新词嘛 #11

Open
weidazhu opened this issue Aug 29, 2019 · 1 comment
Open

命名实体识别可以增加新词嘛 #11

weidazhu opened this issue Aug 29, 2019 · 1 comment

Comments

@weidazhu
Copy link

你好啊,如果我对命名实体识别的一些领域专有名词不满意怎么可以增加新词呀

@blmoistawinde
Copy link
Owner

你的问题是针对于ht.posseg提的(或者ht.entity_linking,二者本质相同),还是ht.named_entity_recognition提的?如果是前者的话,可以通过

ht.add_new_entity(entity0, mention0=None, type0="添加词")

分别指定实体标准名,实体别名和类别(可选),来添加新词。

后者则不支持添加。

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