Showcase/Machine Translation Evaluation
intermediatesurvey

Machine Translation Evaluation

Evaluate machine translation quality with adequacy and fluency ratings.

📊

survey annotation

Configuration Fileconfig.yaml

task_name: "Machine Translation Evaluation"
task_description: "Evaluate the quality of the machine translation."
task_dir: "."
port: 8000

data_files:
  - "sample-data.json"

item_properties:
  id_key: id
  text_key: source
  context_key: translation

annotation_schemes:
  - annotation_type: likert
    name: adequacy
    description: "How much of the source meaning is preserved in the translation?"
    size: 5
    min_label: "None"
    max_label: "All"
    required: true

  - annotation_type: likert
    name: fluency
    description: "How fluent is the translation in the target language?"
    size: 5
    min_label: "Incomprehensible"
    max_label: "Flawless"
    required: true

  - annotation_type: multiselect
    name: errors
    description: "Select any errors present in the translation"
    labels:
      - "Mistranslation"
      - "Omission"
      - "Addition"
      - "Grammar error"
      - "Word order"
      - "Terminology"
    required: false

output_annotation_dir: "output/"
output_annotation_format: "json"

Sample Datasample-data.json

[
  {
    "id": "1",
    "source": "El gato negro duerme en el sofá.",
    "source_lang": "Spanish",
    "target_lang": "English",
    "translation": "The black cat sleeps on the couch."
  },
  {
    "id": "2",
    "source": "Je voudrais réserver une table pour deux personnes.",
    "source_lang": "French",
    "target_lang": "English",
    "translation": "I would like to book a table for two people."
  }
]

Get This Design

View on GitHub

Clone or download from the repository

Quick start:

git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/machine-translation-eval
potato start config.yaml

Details

Annotation Types

likertmultiselect

Domain

NLPTranslation

Use Cases

Machine TranslationMT Evaluation

Tags

translationmtevaluationmultilingual

Found an issue or want to improve this design?

Open an Issue