Validate Text

POST https://api.speechace.co/api/validating/text/v9/json?key={{speechacekey}}&text="Validate these words existeee."&dialect=en-us

In this example we validate whether all the words in the text exist in the Speechace lexicon. This API allows you to quickly check whether authored content will be able to be scored with Speechace. This is useful to use at the time of text authoring to avoid errors later on.

Out of lexicon terms can be reported to support@speechace.com for inclusion. Or you can see the phoneme list API as an alternative.

You may also opt let Speechace API automatically handle unknown words by finding the most likely phonetic mapping for the term.

Request Params

KeyDatatypeRequiredDescription
keystringAPI key issued by Speechace.
textstringA sentence or sequence of words to validate.
dialectstringThe dialect to use for validation. Default is "en-us". Supported values are "en-us" (US English) and "en-gb" (UK English).

RESPONSES

status: OK

{"status":"success","quota_remaining":-1}