Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def proc_sen(sen_list,cnt):
|
|
42 |
n=ea.split("/")
|
43 |
if n[1] == "NN":
|
44 |
noun_box1.append(n[0])
|
45 |
-
json_object={'sentence':sen_list[cnt],'noun_phrase':noun_p,'nouns':
|
46 |
return json_object
|
47 |
|
48 |
def get_nouns(text=text,steps=1):
|
|
|
42 |
n=ea.split("/")
|
43 |
if n[1] == "NN":
|
44 |
noun_box1.append(n[0])
|
45 |
+
json_object={'sentence':sen_list[cnt],'noun_phrase':noun_p,'nouns':noun_box1}
|
46 |
return json_object
|
47 |
|
48 |
def get_nouns(text=text,steps=1):
|