Omnibus commited on
Commit
b1229ed
·
verified ·
1 Parent(s): d92143f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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':noun_box}
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):