awacke1 commited on
Commit
7a55cac
1 Parent(s): 1e4000c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -140,7 +140,8 @@ def group_by_entity(raw):
140
  myEntityGroup = ent["entity_group"]
141
  print("Found entity group type: " + myEntityGroup)
142
 
143
- if (myEntityGroup in ['Sign_symptom', 'Detailed_description', 'History', 'Activity', 'Medication', 'DISEASE_DISORDER' ]):
 
144
  eterm = ent["word"].replace('#','')
145
  minlength = 3
146
  if len(eterm) > minlength:
 
140
  myEntityGroup = ent["entity_group"]
141
  print("Found entity group type: " + myEntityGroup)
142
 
143
+ # if (myEntityGroup in ['Sign_symptom', 'Detailed_description', 'History', 'Activity', 'Medication', 'DISEASE_DISORDER' ]):
144
+ if (myEntityGroup not in ['Match All']):
145
  eterm = ent["word"].replace('#','')
146
  minlength = 3
147
  if len(eterm) > minlength: