Omnibus commited on
Commit
e44754c
·
verified ·
1 Parent(s): 5dc91a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -63,16 +63,17 @@ def sort_doc(text,steps=1):
63
  noun_list={}
64
  step_list=[]
65
  step_cont_box=[]
66
-
67
  sen_list=get_sen_list(text)
68
  key_cnt=len(sen_list)
69
 
70
  sen_obj_box=[]
71
- for ii,ee in sen_list:
72
  sen_obj=proc_sen(ee,ii)
73
  sen_obj_box.append(sen_obj)
74
 
75
  sen_list=sen_obj_box
 
76
  key_cnt=len(sen_obj_box)
77
  print(key_cnt)
78
  #noun_cnt=len(noun_box)
 
63
  noun_list={}
64
  step_list=[]
65
  step_cont_box=[]
66
+ ########################################
67
  sen_list=get_sen_list(text)
68
  key_cnt=len(sen_list)
69
 
70
  sen_obj_box=[]
71
+ for ii,ee in enumerate(sen_list):
72
  sen_obj=proc_sen(ee,ii)
73
  sen_obj_box.append(sen_obj)
74
 
75
  sen_list=sen_obj_box
76
+ ######################################
77
  key_cnt=len(sen_obj_box)
78
  print(key_cnt)
79
  #noun_cnt=len(noun_box)