Datasets:
Tasks:
Translation
Formats:
csv
Size:
10K - 100K
ArXiv:
Tags:
machine-translation
quality-estimation
post-editing
translation
behavioral-data
multidimensional-quality-metric
License:
File size: 1,899 Bytes
ee89782 04156c9 ee89782 04156c9 ee89782 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | # Task Example
This folder provides an example of the structure of task outputs produced by [GroTE](https://github.com/gsarti/grote).
## Folder Structure
```shell
example/
├── inputs/
│ └── eng-ita/
│ ├── example_eng-ita_doc1_input.txt
│ └── ... # GroTE input files with tags and ||| source-target separator
├── outputs/
│ └── eng-ita/
│ ├── logs/
│ │ └── example_eng-ita_t0_logs.csv # GroTE logs
│ ├── example_eng-ita_doc1_t0_output.txt
│ └── ... # GroTE output files (one edited target per line)
├── doc_id_map.json # Source and doc name maps
└── README.md
```
## Inputs
This example uses the same files of `pretask`, with highlights in the `supervised` modality produced by XCOMET-XXL. The `doc_id_map.json` file shows the mapping between `{{DOC_ID}}` and the original filename found in the `source_path`. Input files for the task have names using the format:
```python
"{{TASK_ID}}_{{TRANSLATION_DIRECTION}}_{{DOC_ID}}_input.txt"
```
Sentences use the FastAlign format `{{SOURCE}} ||| {{TARGET}}`, with source and target being regular texts without special tokenization. `<minor>...</minor>` and `<major>...</major>` tags are used to mark potential errors to be highlighted in the editing interface.
## Outputs
Files in `outputs/{{TRANSLATION_DIRECTION}}` contain post-edited outputs (one per line, matching inputs) using format:
```python
"{{TASK_ID}}_{{TRANSLATION_DIRECTION}}_{{DOC_ID}}_{{TRANSLATOR_ID}}_output.txt"
```
The contents of `outputs/{{TRANSLATION_DIRECTION}}/logs` can be used to analyze editing behavior at a granular scale. Each log file has format:
```python
"{{TASK_ID}}_{{TRANSLATION_DIRECTION}}_{{TRANSLATOR_ID}}_logs.csv"
```
Refer to [GroTE](https://github.com/gsarti/grote) documentation for more information about the logs. |