Omnibus commited on
Commit
179044f
·
verified ·
1 Parent(s): 6d812d3

Update app.py

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