Removed array from translate_sentence method