Scores a transcript against a reference
ton.halowerk.com/v1/wer-benchmark
Scores a transcript against a reference: word error rate, character error rate, MER, WIL and WIP with substitution, deletion and insertion counts, the most frequent confusions and error types (spelling, number format, compound split); one pair or a corpus of up to 100 pairs. Texts are normalised (NFKC, optional lower-casing and punctuation removal, whitespace collapsed) and aligned with a word-lev
POST
https://ton.halowerk.com/v1/wer-benchmarkUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://ton.halowerk.com/v1/wer-benchmark", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"hypothesis":"the cat sit on mat","reference":"the cat sat on the mat"}),
});
console.log(await res.json());Example input
{
"hypothesis": "the cat sit on mat",
"reference": "the cat sat on the mat"
}