UKPLab / emnlp2017-relation-extraction

Context-Aware Representations for Knowledge Base Relation Extraction
Apache License 2.0
289 stars 71 forks source link

How to process the dataset? #5

Closed monstertony closed 6 years ago

monstertony commented 6 years ago

Hi,

Can I ask how can I process the dataset? I saw your training dataset is in a preprocessed format, can I ask how to preprocess those text?

Hope to get your reply! Thanks a lot in advance!!!

daniilsorokin commented 6 years ago

Th input dataset is in JSON format, so you can use any json serializer/deserializer to create/read it. What do you mean exactly by "preprocess"?

monstertony commented 6 years ago

Thanks for reply! I have checked your newest update. That using pre-trained nodels.ipynb is quite clear now.

daniilsorokin commented 6 years ago

Great to hear that!