Compute WER
transkribus_recog_compute_werCalculate Word Error Rate for a document by comparing a hypothesis transcript against a reference transcription, helping you measure and validate HTR/OCR recognition accuracy.
Instructions
Compute the Word Error Rate for a document.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"collId": "<collId>",
"docId": "<docId>"
},
"name": "transkribus_recog_compute_wer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hyp | No | Hypothesis transcript identifier | |
| key | No | Transcript key | |
| ref | No | Reference transcript identifier | |
| docId | Yes | Document ID | |
| pages | No | Page range (e.g. "1-5") | |
| collId | Yes | Collection ID |