Switch to unified view

a b/test-resources/integration/ex-features.txt
1
-----sentence: <He was diagnosed with kidney failure in the United States.>-----
2
first three tokens:
3
He
4
    children=[]
5
    context_similarity=-1
6
    cui=-1
7
    cui_=-<N>-
8
    definition_=-<N>-
9
    dep=430
10
    dep_=nsubjpass
11
    detected_name_=-<N>-
12
    ent=0
13
    ent_=-<N>-
14
    ent_iob=0
15
    ent_iob_=O
16
    i=0
17
    i_sent=0
18
    idx=0
19
    is_concept=False
20
    is_contraction=False
21
    is_ent=False
22
    is_pronoun=True
23
    is_punctuation=False
24
    is_space=False
25
    is_stop=True
26
    is_superlative=False
27
    is_wh=False
28
    lemma_=he
29
    lexspan=(0, 2)
30
    norm=He
31
    norm_len=2
32
    pos_=PRON
33
    pref_name_=-<N>-
34
    sent_i=0
35
    shape=12204527652707022206
36
    shape_=Xx
37
    sub_names=[]
38
    tag=13656873538139661788
39
    tag_=PRP
40
    tui_descs_=
41
    tuis=frozenset()
42
    tuis_=
43
was
44
    children=[]
45
    context_similarity=-1
46
    cui=-1
47
    cui_=-<N>-
48
    definition_=-<N>-
49
    dep=406
50
    dep_=auxpass
51
    detected_name_=-<N>-
52
    ent=0
53
    ent_=-<N>-
54
    ent_iob=0
55
    ent_iob_=O
56
    i=1
57
    i_sent=1
58
    idx=3
59
    is_concept=False
60
    is_contraction=False
61
    is_ent=False
62
    is_pronoun=False
63
    is_punctuation=False
64
    is_space=False
65
    is_stop=True
66
    is_superlative=False
67
    is_wh=False
68
    lemma_=be
69
    lexspan=(3, 6)
70
    norm=was
71
    norm_len=3
72
    pos_=AUX
73
    pref_name_=-<N>-
74
    sent_i=0
75
    shape=4088098365541558500
76
    shape_=xxx
77
    sub_names=[]
78
    tag=17109001835818727656
79
    tag_=VBD
80
    tui_descs_=
81
    tuis=frozenset()
82
    tuis_=
83
diagnosed
84
    children=[0, 1, 3, 10]
85
    context_similarity=-1
86
    cui=-1
87
    cui_=-<N>-
88
    definition_=-<N>-
89
    dep=8206900633647566924
90
    dep_=ROOT
91
    detected_name_=-<N>-
92
    ent=0
93
    ent_=-<N>-
94
    ent_iob=0
95
    ent_iob_=O
96
    i=2
97
    i_sent=2
98
    idx=7
99
    is_concept=False
100
    is_contraction=False
101
    is_ent=False
102
    is_pronoun=False
103
    is_punctuation=False
104
    is_space=False
105
    is_stop=False
106
    is_superlative=False
107
    is_wh=False
108
    lemma_=diagnose
109
    lexspan=(7, 16)
110
    norm=diagnosed
111
    norm_len=9
112
    pos_=VERB
113
    pref_name_=-<N>-
114
    sent_i=0
115
    shape=13110060611322374290
116
    shape_=xxxx
117
    sub_names=[]
118
    tag=3822385049556375858
119
    tag_=VBN
120
    tui_descs_=
121
    tuis=frozenset()
122
    tuis_=
123
-----named entities:-----
124
<kidney failure>: cui=C0035078
125
<kidney>: cui=C0035078
126
<the United States>: cui=-<N>-
127
-----features as a Pandas data frame-----
128
    idx   i       norm  is_concept      cui_      pref_name_   ent_
129
0     0   0         He       False     -<N>-           -<N>-  -<N>-
130
1     3   1        was       False     -<N>-           -<N>-  -<N>-
131
2     7   2  diagnosed       False     -<N>-           -<N>-  -<N>-
132
3    17   3       with       False     -<N>-           -<N>-  -<N>-
133
4    22   4     kidney        True  C0035078  Kidney Failure  ORGAN
134
5    29   5    failure        True  C0035078  Kidney Failure  -<N>-
135
6    37   6         in       False     -<N>-           -<N>-  -<N>-
136
7    40   7        the       False     -<N>-           -<N>-    GPE
137
8    44   8     United       False     -<N>-           -<N>-    GPE
138
9    51   9     States       False     -<N>-           -<N>-    GPE
139
10   57  10          .       False     -<N>-           -<N>-  -<N>-