Maria Tsilimos commited on
Commit
f65b9e4
·
unverified ·
1 Parent(s): b9fda30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -5
app.py CHANGED
@@ -157,15 +157,16 @@ if st.button("Results"):
157
  '**start**': ['index of the start of the corresponding entity']
158
 
159
  '**end**': ['index of the end of the corresponding entity']
160
- '**B**- (Beginning): Indicates the beginning of a given entity.
161
 
162
- '**I**- (Inside): Indicates a word that is inside a given entity but not the first one.
163
 
164
- '**E**- (End): Indicates the end of a given entity.
165
 
166
- '**S**- (Single): Indicates that a given entity is a single entity. It's both the beginning and the end.
167
 
168
- '**O** (Outside): Indicates that a word is outside of any named entity.
 
 
169
 
170
  ''')
171
 
@@ -205,6 +206,15 @@ if st.button("Results"):
205
  'entity_group': ['label (tag) assigned to a given extracted entity'],
206
  'start': ['index of the start of the corresponding entity'],
207
  'end': ['index of the end of the corresponding entity'],
 
 
 
 
 
 
 
 
 
208
  })
209
 
210
  buf = io.BytesIO()
 
157
  '**start**': ['index of the start of the corresponding entity']
158
 
159
  '**end**': ['index of the end of the corresponding entity']
 
160
 
161
+ '**B**'- (Beginning): Indicates the beginning of a given entity.
162
 
163
+ '**I**'- (Inside): Indicates a word that is inside a given entity but not the first one.
164
 
165
+ '**E**'- (End): Indicates the end of a given entity.
166
 
167
+ '**S**'- (Single): Indicates that a given entity is a single entity. It's both the beginning and the end.
168
+
169
+ '**O**' (Outside): Indicates that a word is outside of any named entity.
170
 
171
  ''')
172
 
 
206
  'entity_group': ['label (tag) assigned to a given extracted entity'],
207
  'start': ['index of the start of the corresponding entity'],
208
  'end': ['index of the end of the corresponding entity'],
209
+ 'B(Beginning)': ['Indicates the beginning of a given entity.'],
210
+ 'I(Inside)': ['Indicates a word that is inside a given entity but not the first one.'],
211
+ 'E(End)': ['Indicates the end of a given entity.'],
212
+ 'S(Single)': ['Indicates that a given entity is a single entity.'],
213
+ '0(Outside)': ['Indicates that a word is outside of any named entity.']
214
+
215
+
216
+
217
+
218
  })
219
 
220
  buf = io.BytesIO()