awacke1 commited on
Commit
1e4000c
1 Parent(s): 157ac27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -140,7 +140,7 @@ 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' ]):
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
  eterm = ent["word"].replace('#','')
145
  minlength = 3
146
  if len(eterm) > minlength: