def get_best_word(state):