phucdev commited on
Commit
dd0c117
1 Parent(s): 3b2296a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -19
README.md CHANGED
@@ -102,23 +102,13 @@ The language in the dataset is English.
102
 
103
  ### Data Instances
104
 
105
- An example of 'train' looks as follow:
106
  ```json
107
  {
108
- 'text': 'In spite of multiple treatment regimens consisting of surgical resection , radiation therapy , and multi-agent chemotherapy , the prognosis is very poor .',
109
- 'h': {
110
- 'id': 'C0015252',
111
- 'start': 54,
112
- 'end': 72,
113
- 'name': 'surgical resection'
114
- },
115
- 't': {
116
- 'id': 'C0033325',
117
- 'start': 130,
118
- 'end': 139,
119
- 'name': 'prognosis'
120
- },
121
- 'relation': 0
122
  }
123
  ```
124
 
@@ -127,13 +117,11 @@ An example of 'train' looks as follow:
127
  - `text`: the text of this example, a `string` feature.
128
  - `h`: head entity
129
  - `id`: identifier of the head entity, a `string` feature.
130
- - `start`: character off start of the head entity, a `int32` feature.
131
- - `end`: character off end of the head entity, a `int32` feature.
132
  - `name`: head entity text, a `string` feature.
133
  - `t`: tail entity
134
  - `id`: identifier of the tail entity, a `string` feature.
135
- - `start`: character off start of the tail entity, a `int32` feature.
136
- - `end`: character off end of the tail entity, a `int32` feature.
137
  - `name`: tail entity text, a `string` feature.
138
  - `relation`: a class label.
139
 
 
102
 
103
  ### Data Instances
104
 
105
+ An example of 'train' looks as follows:
106
  ```json
107
  {
108
+ "text": "Urethral stones are rarely formed primarily in the urethra and are usually associated with urethral strictures or diverticula .",
109
+ "h": {"id": "C0041967", "pos": [51, 58], "name": "urethra"},
110
+ "t": {"id": "C0041974", "pos": [91, 110], "name": "urethral strictures"},
111
+ "relation": "finding_site_of"
 
 
 
 
 
 
 
 
 
 
112
  }
113
  ```
114
 
 
117
  - `text`: the text of this example, a `string` feature.
118
  - `h`: head entity
119
  - `id`: identifier of the head entity, a `string` feature.
120
+ - `pos`: character offsets of the head entity, a list of `int32` features.
 
121
  - `name`: head entity text, a `string` feature.
122
  - `t`: tail entity
123
  - `id`: identifier of the tail entity, a `string` feature.
124
+ - `pos`: character offsets of the tail entity, a list of `int32` features.
 
125
  - `name`: tail entity text, a `string` feature.
126
  - `relation`: a class label.
127