Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def proc_nouns(sen_list):
|
|
36 |
noun_list[str(nnn)].append(nn)
|
37 |
else:
|
38 |
noun_list[str(nnn)]=[nn]
|
39 |
-
for nnnn in sen_list[nn]['
|
40 |
if nnnn in list(noun_list.keys()):
|
41 |
noun_list[str(nnnn)].append(nn)
|
42 |
else:
|
|
|
36 |
noun_list[str(nnn)].append(nn)
|
37 |
else:
|
38 |
noun_list[str(nnn)]=[nn]
|
39 |
+
for nnnn in sen_list[nn]['noun_phrase']:
|
40 |
if nnnn in list(noun_list.keys()):
|
41 |
noun_list[str(nnnn)].append(nn)
|
42 |
else:
|