weizhepei / CasRel

A Novel Cascade Binary Tagging Framework for Relational Triple Extraction. Accepted by ACL 2020.
https://arxiv.org/abs/1909.03227
MIT License
767 stars 141 forks source link

why use choice() in construction of relational triples #34

Open janenie opened 4 years ago

janenie commented 4 years ago

I notice that in the data_generator class, that you only preserve one relation triple by using random.choice(). what is the motivation of this?

Thanks Feng

ItGirls commented 4 years ago

I notice that in the data_generator class, that you only preserve one relation triple by using random.choice(). what is the motivation of this?

Thanks Feng

I think he use the func(choice) to preserve one subject not one relation triple.

1qingqing1 commented 3 years ago

I notice that in the data_generator class, that you only preserve one relation triple by using random.choice(). what is the motivation of this? Thanks Feng

I think he use the func(choice) to preserve one subject not one relation triple.

why he preserve only one subject?Could you tell more details?