carisackc commited on
Commit
ebe0cda
·
1 Parent(s): 31de096

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -155,6 +155,7 @@ def genEntities(ann, entity):
155
 
156
 
157
  ##======================== Start of NER Tagging ========================
 
158
  #lemmatizing the notes to capture all forms of negation(e.g., deny: denies, denying)
159
  def lemmatize(note, nlp):
160
  doc = nlp(note)
 
155
 
156
 
157
  ##======================== Start of NER Tagging ========================
158
+ @st.cache
159
  #lemmatizing the notes to capture all forms of negation(e.g., deny: denies, denying)
160
  def lemmatize(note, nlp):
161
  doc = nlp(note)