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

关于mention type和argument role #34

Closed
5 tasks done
zlh-source opened this issue May 24, 2022 · 2 comments
Closed
5 tasks done

关于mention type和argument role #34

zlh-source opened this issue May 24, 2022 · 2 comments
Labels
question Further information is requested

Comments

@zlh-source
Copy link

Agreement

  • Fill the space in brackets with x to check the agreement items.
  • Before submitting this issue, I've fully checked the instructions in README.md.
  • Before submitting this issue, I'd searched in the issue area and didn't find a solved issue that covers my problem.
  • This issue is about the toolkit itself, not Python, pip or other programming basics.
  • I understand if I do not check all the agreemnt items above, my issue MAY BE CLOSED OR REMOVED WITHOUT FURTHER EXPLANATIONS.

Problem

您好,您论文Figure 1中涉及到了两个概念:mention type和argument role,并且在Entity Representation部分也使用到了mention type这一信息。这两者的含义和区别我明白,但是在duee数据集中有mention type这个标注信息吗?我检查了一下,似乎只有argument role。

Environment

Environment Values
System Windows/Linux
GPU Device
CUDA Version
Python Version
PyTorch Version
dee (the Toolkit) Version

Full Log

Log:

@zlh-source zlh-source added the question Further information is requested label May 24, 2022
@Spico197
Copy link
Owner

嗨您好,感谢对本项目的关注。没有mention type时,一般采用argument role作为实体的类别。这里我们也是这么处理DuEE-fin的,具体代码如下:

for arg_pair in ins["arguments"]:
ocurr = get_span_drange(sents, arg_pair["argument"])
if len(ocurr) <= 0:
continue
role2arg[arg_pair["role"]] = arg_pair["argument"]
ann_valid_mspans.append(arg_pair["argument"])
ann_mspan2guess_field[arg_pair["argument"]] = arg_pair["role"]
ann_mspan2dranges[arg_pair["argument"]] = ocurr

@zlh-source
Copy link
Author

好的 感谢您的回复!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants