def main(new_word): words = tools.read_lines(FORMS_SOURCE, clean_text=False) #words=distance.eff_heuristic(new_word,words) correct_word = distance.curry_correct(words) print(correct_word(new_word))
def main(new_word): words=tools.read_lines(FORMS_SOURCE,clean_text=False) #words=distance.eff_heuristic(new_word,words) correct_word=distance.curry_correct(words) print(correct_word(new_word))
def main_loop(): full_words = tools.read_lines(FORMS_SOURCE, clean_text=False) words = [distance.code_digraphs(word_i) for word_i in full_words] correct_word = distance.curry_correct(words, full_words) tools.ui_loop(correct_word, get_word)
def main_loop(): full_words=tools.read_lines(FORMS_SOURCE,clean_text=False) words=[distance.code_digraphs(word_i) for word_i in full_words] correct_word=distance.curry_correct(words,full_words) tools.ui_loop(correct_word,get_word)