WuHuRestaurant / xf_event_extraction2020Top1

科大讯飞2020事件抽取挑战赛第一名解决方案&完整事件抽取系统
536 stars 123 forks source link

The parameters "use_distant_trigger" different "use_trigger_distance"? #5

Closed NoLoPhe closed 3 years ago

NoLoPhe commented 3 years ago

Please explain me the difference between the two above parameters. Thankyou.

WuHuRestaurant commented 3 years ago

1.The parameter ‘use_distant_trigger’ is used for the trigger extraction task. We use all the triggers in the supervision data and use some rules to construct a remote supervision library of triggers. Similar to the remote supervision method, if the text matches the knowledge base, the distant trigger label is set to 1, and then embedding is used as a feature of the model。

WuHuRestaurant commented 3 years ago
  1. The parameter ‘use_trigger_distance’ is used for the role extraction task, used to characterize the relative distance between other words in the text and the trigger.
NoLoPhe commented 3 years ago

Thanks for your immediate reply!