def evaluate_randomly(encoder, decoder):
    (input_sentence, target_sentence) = random.choice(pairs)
    evaluate_and_show_attention(input_sentence, encoder, decoder, target_sentence)
def evaluate_randomly(encoder, decoder):
    (input_sentence, target_sentence) = random.choice(pairs)
    evaluate_and_show_attention(input_sentence, encoder, decoder, target_sentence)