Aakash Goel commited on
Commit
ab36985
·
1 Parent(s): 4044038

distractor title

Browse files
Files changed (1) hide show
  1. code/helper.py +1 -0
code/helper.py CHANGED
@@ -128,6 +128,7 @@ def get_related_word(word):
128
  if res["word"]!=word and res["word"]!="":
129
  related_words.append(res["word"])
130
  count += 1
 
131
  return related_words
132
 
133
  def get_final_option_list(ans,other_options):
 
128
  if res["word"]!=word and res["word"]!="":
129
  related_words.append(res["word"])
130
  count += 1
131
+ related_words = [str(i).title() for i in related_words]
132
  return related_words
133
 
134
  def get_final_option_list(ans,other_options):