Files
Sprachmittler-Kit/evaluation/corpus.example.json
T

47 lines
1.8 KiB
JSON

{
"version": 1,
"description": "Example manifest using the synthetic test fixtures. Copy to corpus.json, replace the paths with your own texts under corpus/, and write the reference translations.",
"segments": [
{
"id": "synthetic-en-p1",
"source": "../Packages/SprachmittlerKit/Tests/SprachmittlerTextTests/Fixtures/en-sample.txt",
"sourceLanguage": "en",
"targetLanguage": "de",
"category": "en-de-prose",
"reference": "corpus/references/synthetic-en-p1.de.txt",
"referenceKind": "human",
"notes": "Synthetic; URL and {{limit}} must survive"
},
{
"id": "synthetic-de-p1",
"source": "../Packages/SprachmittlerKit/Tests/SprachmittlerTextTests/Fixtures/de-sample.txt",
"sourceLanguage": "de",
"targetLanguage": "en",
"category": "de-en-prose",
"reference": "corpus/references/synthetic-de-p1.en.txt",
"referenceKind": "human",
"notes": "Synthetic; umlauts, ß, comma decimal"
},
{
"id": "synthetic-markdown-p1",
"source": "../Packages/SprachmittlerKit/Tests/SprachmittlerTextTests/Fixtures/markdown-sample.md",
"sourceLanguage": "en",
"targetLanguage": "de",
"category": "markdown",
"reference": "corpus/references/synthetic-markdown-p1.de.md",
"referenceKind": "human",
"notes": "Synthetic; heading, bold, code span, link"
},
{
"id": "synthetic-placeholders-p1",
"source": "../Packages/SprachmittlerKit/Tests/SprachmittlerTextTests/Fixtures/placeholders.txt",
"sourceLanguage": "en",
"targetLanguage": "de",
"category": "placeholders",
"reference": "corpus/references/synthetic-placeholders-p1.de.txt",
"referenceKind": "human",
"notes": "Synthetic; {{name}}, ${code}, %s, %d, e-mail, URL"
}
]
}