Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def proc_sen(sen_list,cnt):
|
|
51 |
|
52 |
def proc_nouns(sen_list):
|
53 |
noun_list={}
|
54 |
-
for
|
55 |
for nnn in sen_list[nn]['nouns']:
|
56 |
if nnn in list(noun_list.keys()):
|
57 |
noun_list[str(nnn)].append(nn)
|
|
|
51 |
|
52 |
def proc_nouns(sen_list):
|
53 |
noun_list={}
|
54 |
+
for nn in list(sen_list.keys()):
|
55 |
for nnn in sen_list[nn]['nouns']:
|
56 |
if nnn in list(noun_list.keys()):
|
57 |
noun_list[str(nnn)].append(nn)
|