← Back to directory

Check whether an answer is written in the language of the question (or an expect...

https://denk.halowerk.com/v1/language-match

Overview

Check whether an answer is written in the language of the question (or an expected language): detected languages with scores, per-segment languages, share of text in the expected language, script check. Detects languages with franc-min 6.2 (MIT; trigram profiles from the Universal Declaration of Human Rights, 82 languages with at least 8 million speakers, ISO 639-3).

Protocol x402 (POST)
Price $0.0020
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider denk
Source bazaar
Indexed 2026-11-20 16:11:03

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "answer": "The standard VAT rate in Germany is 19 percent.", "question": "Wie hoch ist die Mehrwertsteuer in Deutschland?" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "limitations": [ "Languages outside the 82 franc-min languages (for example Danish, Finnish, Norwegian, Hebrew) are reported as the closest supported language.", "Texts or segments shorter than 10 characters are undetermined.", "Closely related languages (for example Bosnian, Croatian, Serbian in Latin script) are often confused." ], "result": { "answer_language": { "code": "eng", "iso639_1": "en", "margin": 0.1964, "name": "English", "top": [ { "code": "eng", "score": 1 }, { "code": "nld", "score": 0.8036 }, { "code": "deu", "score": 0.7185 } ] }, "expected": { "code": "deu", "iso639_1": "de", "margin": 0.2739, "name": "German", "source": "question", "top": [ { "code": "deu", "score": 1 }, { "code": "nld", "score": 0.7261 }, { "code": "eng", "score": 0.6077 } ] }, "match": false, "method": "franc-min 6.2 trigram detection (ISO 639-3); margin = 1 - normalised score of the second-best language; names and ISO 639-1 codes from CLDR 48 via Intl", "mixed_language": true, "scripts": { "answer": { "dominant": "Latin", "scripts": [ { "script": "Latin", "share": 1 } ] }, "question": { "dominant": "Latin", "scripts": [ { "script": "Latin", "share": 1 } ] } }, "segments": [ { "chars": 47, "end": 47, "iso639_1": "en", "language": "eng", "margin": 0.1964, "preview": "The standard VAT rate in Germany is 19 percent.", "start": 0 } ], "share_in_expected_language": 0, "warnings": [] }, "service": "language-match", "status": "success" }, "type": "json" }