Numeric Fused-Heads Identification and Resolution Dataset
收藏Numeric Fused-Head 数据集
概述
该数据集与论文 "Where’s My Head? Definition, Dataset and Models for Numeric Fused-Heads Identification and Resolution" 相关,作者为 Yanai Elazar 和 Yoav Goldberg,将发表于 TACL。
子任务
数据集涉及两个子任务:
- Identification:识别任务
- Resolution:解析任务
这两个子任务在论文的第3、4节和第5、6节中分别讨论,并在代码中独立处理。
示例用法
python import spacy from num_fh import NFH nlp = spacy.load(en_core_web_sm) nfh = NFH(nlp) nlp.add_pipe(nfh, first=False)
doc = nlp("I told you two, that only one of them is the one who will get 2 or 3 icecreams") assert doc[16]..is_nfh == True assert doc[18]..is_nfh == False assert doc[3]..is_deter_nfh == True assert doc[16]..is_deter_nfh == False assert len(doc._.nfh) == 4
引用
如果该工作与您的研究相关,请考虑引用:
@article{elazar_head, author = {Elazar, Yanai and Goldberg, Yoav}, title = {Where’s My Head? Definition, Data Set, and Models for Numeric Fused-Head Identification and Resolution}, journal = {Transactions of the Association for Computational Linguistics}, volume = {7}, number = {}, pages = {519-535}, year = {2019}, doi = {10.1162/tacl_a_00280}, URL = {https://doi.org/10.1162/tacl_a_00280}, }



