Omnibus commited on
Commit
ecd64c9
·
verified ·
1 Parent(s): daf2603

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def proc_nouns(sen_list):
36
  noun_list[str(nnn)].append(nn)
37
  else:
38
  noun_list[str(nnn)]=[nn]
39
- for nnnn in sen_list[nn]['noun_phrases']:
40
  if nnnn in list(noun_list.keys()):
41
  noun_list[str(nnnn)].append(nn)
42
  else:
 
36
  noun_list[str(nnn)].append(nn)
37
  else:
38
  noun_list[str(nnn)]=[nn]
39
+ for nnnn in sen_list[nn]['noun_phrase']:
40
  if nnnn in list(noun_list.keys()):
41
  noun_list[str(nnnn)].append(nn)
42
  else: