Spaces:
Build error
Build error
Update app.py
Browse files
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)
|