Tonwerk
pronunciation lexicon
Generate mode: takes entries (graphemes plus IPA or X-SAMPA pronunciations and/or aliases) and writes a PLS 1.0 lexicon (namespace, version, alphabet, xml:lang) in IPA or X-SAMPA, converting between them with the X-SAMPA table of J. C. Wells. Check mode: parses an existing lexicon. Both modes validate the PLS content model (at least one grapheme and one phoneme or alias per lexeme), IPA characters (no capitals or foreign symbols), missing primary stress, duplicate graphemes, NFD form and.
POST https://ton.halowerk.com/v1/pronunciation-lexiconInputs
| Field | Type | Required | Description |
|---|---|---|---|
| lang | string | No | BCP 47 language of the lexicon. |
| alphabet | string | No | Alphabet of the generated lexicon. |
| entries | array | No | Generate mode. |
| pls_xml | string | No | Check mode: an existing PLS document. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"lang": {
"type": "string",
"maxLength": 35,
"default": "de-DE",
"description": "BCP 47 language of the lexicon."
},
"alphabet": {
"type": "string",
"enum": [
"ipa",
"x-sampa"
],
"default": "ipa",
"description": "Alphabet of the generated lexicon."
},
"entries": {
"type": "array",
"minItems": 1,
"maxItems": 500,
"description": "Generate mode.",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"graphemes"
],
"properties": {
"graphemes": {
"type": "array",
"minItems": 1,
"maxItems": 10,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"ipa": {
"type": "array",
"maxItems": 5,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"x_sampa": {
"type": "array",
"maxItems": 5,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"aliases": {
"type": "array",
"maxItems": 5,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
}
}
},
"pls_xml": {
"type": "string",
"minLength": 10,
"maxLength": 500000,
"description": "Check mode: an existing PLS document."
}
}
}Published input example
{
"lang": "de-DE",
"entries": [
{
"graphemes": [
"HALOWERK"
],
"ipa": [
"ˈhaːloˌvɛʁk"
]
},
{
"graphemes": [
"x402"
],
"aliases": [
"x vier null zwei"
]
}
]
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Tonwerk0.01 USDC
accessible transcript html
POSThttps://ton.halowerk.com/v1/accessible-transcript-htmlParses SRT or WebVTT (voice tags <v Name>, "NAME:" prefixes and ">>" speaker changes) or a segments array, merges consecutive cues of the same speaker into turns (a new paragraph after a pause longer than paragraph_gap_s), and writes semant
- Tonwerk0.01 USDC
ad disclosure audio
POSThttps://ton.halowerk.com/v1/ad-disclosure-audioDecodes the complete supplied clip to mono 16 kHz using resource-limited ffmpeg, checks for speech with Silero VAD v6.2 (MIT), and transcribes locally with the pinned Whisper base ONNX model (MIT / Apache-2.0). Conservative English phrase r
- Tonwerk0.005 USDC
ad insertion markers
POSThttps://ton.halowerk.com/v1/ad-insertion-markersRuns ffmpeg 6.1 silencedetect on the episode audio (base64 or URL, at most 10 MiB) and builds mid-roll candidates from internal silences and from Podcasting 2.0 chapter boundaries (a boundary inside a silence or snapped to the nearest silen