Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -180,9 +180,7 @@ def neg_model(nlp_model):
|
|
| 180 |
},
|
| 181 |
last=True)
|
| 182 |
return nlp
|
| 183 |
-
|
| 184 |
-
Negspacy sets a new attribute e._.negex to True if a negative concept is encountered
|
| 185 |
-
"""
|
| 186 |
def negation_handling(nlp_model, note, neg_model):
|
| 187 |
results = []
|
| 188 |
nlp = neg_model(nlp_model)
|
|
|
|
| 180 |
},
|
| 181 |
last=True)
|
| 182 |
return nlp
|
| 183 |
+
|
|
|
|
|
|
|
| 184 |
def negation_handling(nlp_model, note, neg_model):
|
| 185 |
results = []
|
| 186 |
nlp = neg_model(nlp_model)
|