Omnibus commited on
Commit
d9fe977
·
verified ·
1 Parent(s): 04beb1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def proc_nouns(sen_list):
33
  for nn in list(sen_list.keys()):
34
  try:
35
  print(sen_list[nn]['nouns'])
36
- for nnn in sen_list[nn]['nouns']:
37
  #print(nnn)
38
  if noun_list.get(nnn) != None:
39
  noun_list[str(nnn)]=noun_list[str(nnn)].append(nn)
 
33
  for nn in list(sen_list.keys()):
34
  try:
35
  print(sen_list[nn]['nouns'])
36
+ for sen_list[nn]['nouns'].get(nnn) != None:
37
  #print(nnn)
38
  if noun_list.get(nnn) != None:
39
  noun_list[str(nnn)]=noun_list[str(nnn)].append(nn)