KwabsHug commited on
Commit
ef96b5c
1 Parent(s): 7bbaac1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -186,6 +186,7 @@ def splittext(string, split_positions):
186
  return FinalOutput[2:]
187
 
188
  def create_dictionary(word_list, word_dict = {}):
 
189
  for word in word_list:
190
  key = word[:2]
191
  if key not in word_dict:
 
186
  return FinalOutput[2:]
187
 
188
  def create_dictionary(word_list, word_dict = {}):
189
+ word_list = word_list.split(" ")
190
  for word in word_list:
191
  key = word[:2]
192
  if key not in word_dict: