a b/test-resources/entlink-features.json
1
{
2
    "text": "John was diagnosed with kidney failure. He has lung cancer too.",
3
    "sentences": [
4
        {
5
            "text": "John was diagnosed with kidney failure.",
6
            "tokens": [
7
                {
8
                    "shape": 10887629174180191697,
9
                    "idx": 0,
10
                    "ent": 380,
11
                    "dep_": "nsubjpass",
12
                    "lexspan": {
13
                        "begin": 0,
14
                        "end": 4
15
                    },
16
                    "is_stop": false,
17
                    "tag_": "NNP",
18
                    "i": 0,
19
                    "lemma_": "John",
20
                    "ent_": "PERSON",
21
                    "is_punctuation": false,
22
                    "shape_": "Xxxx",
23
                    "ent_iob": 3,
24
                    "is_contraction": false,
25
                    "i_sent": 0,
26
                    "is_pronoun": false,
27
                    "is_space": false,
28
                    "sent_i": 0,
29
                    "norm": "John",
30
                    "tag": 15794550382381185553,
31
                    "dep": 430,
32
                    "pos_": "PROPN",
33
                    "norm_len": 4,
34
                    "children": [],
35
                    "is_superlative": false,
36
                    "ent_iob_": "B",
37
                    "is_wh": false,
38
                    "is_ent": true,
39
                    "tuis_": "",
40
                    "tuis": "frozenset()",
41
                    "tui_descs_": "",
42
                    "is_concept": false,
43
                    "detected_name_": "-<N>-",
44
                    "cui": -1,
45
                    "definition_": "-<N>-",
46
                    "sub_names": [],
47
                    "pref_name_": "-<N>-",
48
                    "cui_": "-<N>-"
49
                },
50
                {
51
                    "shape": 4088098365541558500,
52
                    "idx": 5,
53
                    "ent": 0,
54
                    "dep_": "auxpass",
55
                    "lexspan": {
56
                        "begin": 5,
57
                        "end": 8
58
                    },
59
                    "is_stop": true,
60
                    "tag_": "VBD",
61
                    "i": 1,
62
                    "lemma_": "be",
63
                    "ent_": "-<N>-",
64
                    "is_punctuation": false,
65
                    "shape_": "xxx",
66
                    "ent_iob": 0,
67
                    "is_contraction": false,
68
                    "i_sent": 1,
69
                    "is_pronoun": false,
70
                    "is_space": false,
71
                    "sent_i": 0,
72
                    "norm": "was",
73
                    "tag": 17109001835818727656,
74
                    "dep": 406,
75
                    "pos_": "AUX",
76
                    "norm_len": 3,
77
                    "children": [],
78
                    "is_superlative": false,
79
                    "ent_iob_": "O",
80
                    "is_wh": false,
81
                    "is_ent": false,
82
                    "tuis_": "",
83
                    "tuis": "frozenset()",
84
                    "tui_descs_": "",
85
                    "is_concept": false,
86
                    "detected_name_": "-<N>-",
87
                    "cui": -1,
88
                    "definition_": "-<N>-",
89
                    "sub_names": [],
90
                    "pref_name_": "-<N>-",
91
                    "cui_": "-<N>-"
92
                },
93
                {
94
                    "shape": 13110060611322374290,
95
                    "idx": 9,
96
                    "ent": 0,
97
                    "dep_": "ROOT",
98
                    "lexspan": {
99
                        "begin": 9,
100
                        "end": 18
101
                    },
102
                    "is_stop": false,
103
                    "tag_": "VBN",
104
                    "i": 2,
105
                    "lemma_": "diagnose",
106
                    "ent_": "-<N>-",
107
                    "is_punctuation": false,
108
                    "shape_": "xxxx",
109
                    "ent_iob": 0,
110
                    "is_contraction": false,
111
                    "i_sent": 2,
112
                    "is_pronoun": false,
113
                    "is_space": false,
114
                    "sent_i": 0,
115
                    "norm": "diagnosed",
116
                    "tag": 3822385049556375858,
117
                    "dep": 8206900633647566924,
118
                    "pos_": "VERB",
119
                    "norm_len": 9,
120
                    "children": [
121
                        0,
122
                        1,
123
                        3,
124
                        6
125
                    ],
126
                    "is_superlative": false,
127
                    "ent_iob_": "O",
128
                    "is_wh": false,
129
                    "is_ent": false,
130
                    "tuis_": "",
131
                    "tuis": "frozenset()",
132
                    "tui_descs_": "",
133
                    "is_concept": false,
134
                    "detected_name_": "-<N>-",
135
                    "cui": -1,
136
                    "definition_": "-<N>-",
137
                    "sub_names": [],
138
                    "pref_name_": "-<N>-",
139
                    "cui_": "-<N>-"
140
                },
141
                {
142
                    "shape": 13110060611322374290,
143
                    "idx": 19,
144
                    "ent": 0,
145
                    "dep_": "prep",
146
                    "lexspan": {
147
                        "begin": 19,
148
                        "end": 23
149
                    },
150
                    "is_stop": true,
151
                    "tag_": "IN",
152
                    "i": 3,
153
                    "lemma_": "with",
154
                    "ent_": "-<N>-",
155
                    "is_punctuation": false,
156
                    "shape_": "xxxx",
157
                    "ent_iob": 0,
158
                    "is_contraction": false,
159
                    "i_sent": 3,
160
                    "is_pronoun": false,
161
                    "is_space": false,
162
                    "sent_i": 0,
163
                    "norm": "with",
164
                    "tag": 1292078113972184607,
165
                    "dep": 443,
166
                    "pos_": "ADP",
167
                    "norm_len": 4,
168
                    "children": [
169
                        5
170
                    ],
171
                    "is_superlative": false,
172
                    "ent_iob_": "O",
173
                    "is_wh": false,
174
                    "is_ent": false,
175
                    "tuis_": "",
176
                    "tuis": "frozenset()",
177
                    "tui_descs_": "",
178
                    "is_concept": false,
179
                    "detected_name_": "-<N>-",
180
                    "cui": -1,
181
                    "definition_": "-<N>-",
182
                    "sub_names": [],
183
                    "pref_name_": "-<N>-",
184
                    "cui_": "-<N>-"
185
                },
186
                {
187
                    "shape": 13110060611322374290,
188
                    "idx": 24,
189
                    "ent": 0,
190
                    "dep_": "compound",
191
                    "lexspan": {
192
                        "begin": 24,
193
                        "end": 30
194
                    },
195
                    "is_stop": false,
196
                    "tag_": "NN",
197
                    "i": 4,
198
                    "lemma_": "kidney",
199
                    "ent_": "-<N>-",
200
                    "is_punctuation": false,
201
                    "shape_": "xxxx",
202
                    "ent_iob": 0,
203
                    "is_contraction": false,
204
                    "i_sent": 4,
205
                    "is_pronoun": false,
206
                    "is_space": false,
207
                    "sent_i": 0,
208
                    "norm": "kidney",
209
                    "tag": 15308085513773655218,
210
                    "dep": 7037928807040764755,
211
                    "pos_": "NOUN",
212
                    "norm_len": 6,
213
                    "children": [],
214
                    "is_superlative": false,
215
                    "ent_iob_": "O",
216
                    "is_wh": false,
217
                    "is_ent": false,
218
                    "tuis_": "T047",
219
                    "tuis": [
220
                        "T047"
221
                    ],
222
                    "tui_descs_": "Disease or Syndrome",
223
                    "is_concept": true,
224
                    "detected_name_": "kidney~failure",
225
                    "cui": 35078,
226
                    "definition_": "-<N>-",
227
                    "sub_names": [
228
                        "kidney~failure",
229
                        "renal~failure"
230
                    ],
231
                    "pref_name_": "Kidney Failure",
232
                    "cui_": "C0035078"
233
                },
234
                {
235
                    "shape": 13110060611322374290,
236
                    "idx": 31,
237
                    "ent": 0,
238
                    "dep_": "pobj",
239
                    "lexspan": {
240
                        "begin": 31,
241
                        "end": 38
242
                    },
243
                    "is_stop": false,
244
                    "tag_": "NN",
245
                    "i": 5,
246
                    "lemma_": "failure",
247
                    "ent_": "-<N>-",
248
                    "is_punctuation": false,
249
                    "shape_": "xxxx",
250
                    "ent_iob": 0,
251
                    "is_contraction": false,
252
                    "i_sent": 5,
253
                    "is_pronoun": false,
254
                    "is_space": false,
255
                    "sent_i": 0,
256
                    "norm": "failure",
257
                    "tag": 15308085513773655218,
258
                    "dep": 439,
259
                    "pos_": "NOUN",
260
                    "norm_len": 7,
261
                    "children": [
262
                        4
263
                    ],
264
                    "is_superlative": false,
265
                    "ent_iob_": "O",
266
                    "is_wh": false,
267
                    "is_ent": false,
268
                    "tuis_": "T047",
269
                    "tuis": [
270
                        "T047"
271
                    ],
272
                    "tui_descs_": "Disease or Syndrome",
273
                    "is_concept": true,
274
                    "detected_name_": "kidney~failure",
275
                    "cui": 35078,
276
                    "definition_": "-<N>-",
277
                    "sub_names": [
278
                        "kidney~failure",
279
                        "renal~failure"
280
                    ],
281
                    "pref_name_": "Kidney Failure",
282
                    "cui_": "C0035078"
283
                },
284
                {
285
                    "shape": 12646065887601541794,
286
                    "idx": 38,
287
                    "ent": 0,
288
                    "dep_": "punct",
289
                    "lexspan": {
290
                        "begin": 38,
291
                        "end": 39
292
                    },
293
                    "is_stop": false,
294
                    "tag_": ".",
295
                    "i": 6,
296
                    "lemma_": ".",
297
                    "ent_": "-<N>-",
298
                    "is_punctuation": true,
299
                    "shape_": ".",
300
                    "ent_iob": 0,
301
                    "is_contraction": false,
302
                    "i_sent": 6,
303
                    "is_pronoun": false,
304
                    "is_space": false,
305
                    "sent_i": 0,
306
                    "norm": ".",
307
                    "tag": 12646065887601541794,
308
                    "dep": 445,
309
                    "pos_": "PUNCT",
310
                    "norm_len": 1,
311
                    "children": [],
312
                    "is_superlative": false,
313
                    "ent_iob_": "O",
314
                    "is_wh": false,
315
                    "is_ent": false,
316
                    "tuis_": "",
317
                    "tuis": "frozenset()",
318
                    "tui_descs_": "",
319
                    "is_concept": false,
320
                    "detected_name_": "-<N>-",
321
                    "cui": -1,
322
                    "definition_": "-<N>-",
323
                    "sub_names": [],
324
                    "pref_name_": "-<N>-",
325
                    "cui_": "-<N>-"
326
                }
327
            ]
328
        },
329
        {
330
            "text": "He has lung cancer too.",
331
            "tokens": [
332
                {
333
                    "shape": 12204527652707022206,
334
                    "idx": 40,
335
                    "ent": 0,
336
                    "dep_": "nsubj",
337
                    "lexspan": {
338
                        "begin": 40,
339
                        "end": 42
340
                    },
341
                    "is_stop": true,
342
                    "tag_": "PRP",
343
                    "i": 7,
344
                    "lemma_": "he",
345
                    "ent_": "-<N>-",
346
                    "is_punctuation": false,
347
                    "shape_": "Xx",
348
                    "ent_iob": 0,
349
                    "is_contraction": false,
350
                    "i_sent": 0,
351
                    "is_pronoun": true,
352
                    "is_space": false,
353
                    "sent_i": 1,
354
                    "norm": "He",
355
                    "tag": 13656873538139661788,
356
                    "dep": 429,
357
                    "pos_": "PRON",
358
                    "norm_len": 2,
359
                    "children": [],
360
                    "is_superlative": false,
361
                    "ent_iob_": "O",
362
                    "is_wh": false,
363
                    "is_ent": false,
364
                    "tuis_": "",
365
                    "tuis": "frozenset()",
366
                    "tui_descs_": "",
367
                    "is_concept": false,
368
                    "detected_name_": "-<N>-",
369
                    "cui": -1,
370
                    "definition_": "-<N>-",
371
                    "sub_names": [],
372
                    "pref_name_": "-<N>-",
373
                    "cui_": "-<N>-"
374
                },
375
                {
376
                    "shape": 4088098365541558500,
377
                    "idx": 43,
378
                    "ent": 0,
379
                    "dep_": "ROOT",
380
                    "lexspan": {
381
                        "begin": 43,
382
                        "end": 46
383
                    },
384
                    "is_stop": true,
385
                    "tag_": "VBZ",
386
                    "i": 8,
387
                    "lemma_": "have",
388
                    "ent_": "-<N>-",
389
                    "is_punctuation": false,
390
                    "shape_": "xxx",
391
                    "ent_iob": 0,
392
                    "is_contraction": false,
393
                    "i_sent": 1,
394
                    "is_pronoun": false,
395
                    "is_space": false,
396
                    "sent_i": 1,
397
                    "norm": "has",
398
                    "tag": 13927759927860985106,
399
                    "dep": 8206900633647566924,
400
                    "pos_": "VERB",
401
                    "norm_len": 3,
402
                    "children": [
403
                        7,
404
                        10,
405
                        11,
406
                        12
407
                    ],
408
                    "is_superlative": false,
409
                    "ent_iob_": "O",
410
                    "is_wh": false,
411
                    "is_ent": false,
412
                    "tuis_": "",
413
                    "tuis": "frozenset()",
414
                    "tui_descs_": "",
415
                    "is_concept": false,
416
                    "detected_name_": "-<N>-",
417
                    "cui": -1,
418
                    "definition_": "-<N>-",
419
                    "sub_names": [],
420
                    "pref_name_": "-<N>-",
421
                    "cui_": "-<N>-"
422
                },
423
                {
424
                    "shape": 13110060611322374290,
425
                    "idx": 47,
426
                    "ent": 0,
427
                    "dep_": "compound",
428
                    "lexspan": {
429
                        "begin": 47,
430
                        "end": 51
431
                    },
432
                    "is_stop": false,
433
                    "tag_": "NN",
434
                    "i": 9,
435
                    "lemma_": "lung",
436
                    "ent_": "-<N>-",
437
                    "is_punctuation": false,
438
                    "shape_": "xxxx",
439
                    "ent_iob": 0,
440
                    "is_contraction": false,
441
                    "i_sent": 2,
442
                    "is_pronoun": false,
443
                    "is_space": false,
444
                    "sent_i": 1,
445
                    "norm": "lung",
446
                    "tag": 15308085513773655218,
447
                    "dep": 7037928807040764755,
448
                    "pos_": "NOUN",
449
                    "norm_len": 4,
450
                    "children": [],
451
                    "is_superlative": false,
452
                    "ent_iob_": "O",
453
                    "is_wh": false,
454
                    "is_ent": false,
455
                    "tuis_": "",
456
                    "tuis": "frozenset()",
457
                    "tui_descs_": "",
458
                    "is_concept": false,
459
                    "detected_name_": "-<N>-",
460
                    "cui": -1,
461
                    "definition_": "-<N>-",
462
                    "sub_names": [],
463
                    "pref_name_": "-<N>-",
464
                    "cui_": "-<N>-"
465
                },
466
                {
467
                    "shape": 13110060611322374290,
468
                    "idx": 52,
469
                    "ent": 0,
470
                    "dep_": "dobj",
471
                    "lexspan": {
472
                        "begin": 52,
473
                        "end": 58
474
                    },
475
                    "is_stop": false,
476
                    "tag_": "NN",
477
                    "i": 10,
478
                    "lemma_": "cancer",
479
                    "ent_": "-<N>-",
480
                    "is_punctuation": false,
481
                    "shape_": "xxxx",
482
                    "ent_iob": 0,
483
                    "is_contraction": false,
484
                    "i_sent": 3,
485
                    "is_pronoun": false,
486
                    "is_space": false,
487
                    "sent_i": 1,
488
                    "norm": "cancer",
489
                    "tag": 15308085513773655218,
490
                    "dep": 416,
491
                    "pos_": "NOUN",
492
                    "norm_len": 6,
493
                    "children": [
494
                        9
495
                    ],
496
                    "is_superlative": false,
497
                    "ent_iob_": "O",
498
                    "is_wh": false,
499
                    "is_ent": false,
500
                    "tuis_": "",
501
                    "tuis": "frozenset()",
502
                    "tui_descs_": "",
503
                    "is_concept": false,
504
                    "detected_name_": "-<N>-",
505
                    "cui": -1,
506
                    "definition_": "-<N>-",
507
                    "sub_names": [],
508
                    "pref_name_": "-<N>-",
509
                    "cui_": "-<N>-"
510
                },
511
                {
512
                    "shape": 4088098365541558500,
513
                    "idx": 59,
514
                    "ent": 0,
515
                    "dep_": "advmod",
516
                    "lexspan": {
517
                        "begin": 59,
518
                        "end": 62
519
                    },
520
                    "is_stop": true,
521
                    "tag_": "RB",
522
                    "i": 11,
523
                    "lemma_": "too",
524
                    "ent_": "-<N>-",
525
                    "is_punctuation": false,
526
                    "shape_": "xxx",
527
                    "ent_iob": 0,
528
                    "is_contraction": false,
529
                    "i_sent": 4,
530
                    "is_pronoun": false,
531
                    "is_space": false,
532
                    "sent_i": 1,
533
                    "norm": "too",
534
                    "tag": 164681854541413346,
535
                    "dep": 400,
536
                    "pos_": "ADV",
537
                    "norm_len": 3,
538
                    "children": [],
539
                    "is_superlative": false,
540
                    "ent_iob_": "O",
541
                    "is_wh": false,
542
                    "is_ent": false,
543
                    "tuis_": "",
544
                    "tuis": "frozenset()",
545
                    "tui_descs_": "",
546
                    "is_concept": false,
547
                    "detected_name_": "-<N>-",
548
                    "cui": -1,
549
                    "definition_": "-<N>-",
550
                    "sub_names": [],
551
                    "pref_name_": "-<N>-",
552
                    "cui_": "-<N>-"
553
                },
554
                {
555
                    "shape": 12646065887601541794,
556
                    "idx": 62,
557
                    "ent": 0,
558
                    "dep_": "punct",
559
                    "lexspan": {
560
                        "begin": 62,
561
                        "end": 63
562
                    },
563
                    "is_stop": false,
564
                    "tag_": ".",
565
                    "i": 12,
566
                    "lemma_": ".",
567
                    "ent_": "-<N>-",
568
                    "is_punctuation": true,
569
                    "shape_": ".",
570
                    "ent_iob": 0,
571
                    "is_contraction": false,
572
                    "i_sent": 5,
573
                    "is_pronoun": false,
574
                    "is_space": false,
575
                    "sent_i": 1,
576
                    "norm": ".",
577
                    "tag": 12646065887601541794,
578
                    "dep": 445,
579
                    "pos_": "PUNCT",
580
                    "norm_len": 1,
581
                    "children": [],
582
                    "is_superlative": false,
583
                    "ent_iob_": "O",
584
                    "is_wh": false,
585
                    "is_ent": false,
586
                    "tuis_": "",
587
                    "tuis": "frozenset()",
588
                    "tui_descs_": "",
589
                    "is_concept": false,
590
                    "detected_name_": "-<N>-",
591
                    "cui": -1,
592
                    "definition_": "-<N>-",
593
                    "sub_names": [],
594
                    "pref_name_": "-<N>-",
595
                    "cui_": "-<N>-"
596
                }
597
            ]
598
        }
599
    ]
600
}