def __parse_word(value):
 for word_list in [english_word_numeral_list, french_word_numeral_list, french_alt_word_numeral_list]:
  try:
   return word_list.index(value.lower())
  except ValueError:
   pass
 raise ValueError

def __parse_word ( value ) : for word_list in [ english_word_numeral_list , french_word_numeral_list , french_alt_word_numeral_list ] : try : return word_list . index ( value . lower ( ) ) except ValueError : pass raise ValueError
convert word numeral to integer .