freesunshine0316 / nary-grn

Code regarding to our paper "N-ary Relation Extraction using Graph State LSTM"
96 stars 27 forks source link

Problem in understanding the data #8

Closed nayakt closed 5 years ago

nayakt commented 5 years ago

I have some problem in understanding the data. What will be the value of , and in following example. Thanks in advance !!!!

The mutation results in alteration of the topology of the ATP binding pocket not only interrupting the physicochemical binding of , but also leading to much increased affinity of the protein to ATP resulting in resistance to EGFR-TKIs [ ] . 21 32 1 resistance or non-response

freesunshine0316 commented 5 years ago

Sorry I don't understand.

Oh, you may use a wrong file. This looks like a marked version of the original file.

nayakt commented 5 years ago

I am talking about the 'sentences_2nd' file in your repository.

freesunshine0316 commented 5 years ago

Hi, You need to use the ones with names like "sentence_graph_1" and "sentence_graph_2"

nayakt commented 5 years ago

did you mean 'data_graph_1' and 'data_graph_2' ?

freesunshine0316 commented 5 years ago

Yes, they should be the correct files.

nayakt commented 5 years ago

OK. Thanks !!!!

VV1266 commented 5 years ago

Hey freesunshine0316, Can you explain to me, how the in every instance of data observation you created the "arc" feature from the dependency parser. inst[u'sentences'][0][u'nodes'][9][u'arcs'] . It will be a great help if you can help me out for this.