Translation Edit Rate (TER) Module Interface torchmetrics.TranslationEditRate Functional Interface torchmetrics.functional.translation_edit_rate