Omnibus commited on
Commit
1f0641d
·
verified ·
1 Parent(s): 8cd7d30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def proc_sen(sen_list,cnt):
23
  n=ea.split("/")
24
  if n[1] == "NN":
25
  noun_box1.append(n[0])
26
- json_object={'sen_num':cnt,'sentence':sen_list[cnt],'noun_phrase':[noun_p.copy()],'nouns':noun_box1}
27
  return json_object
28
 
29
  def proc_nouns(sen_list):
 
23
  n=ea.split("/")
24
  if n[1] == "NN":
25
  noun_box1.append(n[0])
26
+ json_object={'sen_num':cnt,'sentence':str(sen_list[cnt]),'noun_phrase':noun_p.copy(),'nouns':noun_box1}
27
  return json_object
28
 
29
  def proc_nouns(sen_list):