fuzihaofzh / distant_supervision_nlg

Code for the paper "Partially-Aligned Data-to-Text Generation with Distant Supervision" in EMNLP 2020.
20 stars 5 forks source link

Question about triples #3

Open StevenTang1998 opened 2 years ago

StevenTang1998 commented 2 years ago

Hi, I want to know how to obtain exact triples from the dataset. As in line 2 of dev.src:

Direct Action and Democracy Today author April Carter KBSEP 9 April 2005 instance_of April 9 KBSEP Direct Action and Democracy Today publication_date 2005-00-00

The relations instance_of and publication_date are explicit, whereas, it is hard to recognize the tail of the current triple and head of the next triple.

espory commented 2 years ago

hi, KBSEP is a seperator between each triple. image

StevenTang1998 commented 2 years ago

OKOK, thanks for your reply!

StevenTang1998 commented 2 years ago

Hi, sorry to bother you again. I found it is also hard to recognize the relation in the triple. Such as

Pescara Porta Nuova railway station country Italy
This Is Not a Film director Jafar Panahi

Could you prodive some instructions?