Score Text/Validate Text
Last updated
Last updated
This API should be used to ensure that all words in the speaker's response are included in the Speechace lexicon. This API enables quick verification of whether authored content can be accurately scored by Speechace, helping to prevent errors during the text authoring process.
Words not found in the lexicon can be reported to support@speechace.com
for potential inclusion. Alternatively, the can be utilized to handle out-of-lexicon terms.
Additionally, the Speechace API offers an option to by determining the most likely phonetic mapping for each term.
The endpoint that is to be used will depend on the of your subscription. For example, for US West, the endpoint is .
POST
https://api.speechace.co/api/scoring/text/v9/json
key
String
API key issued by Speechace.
dialect
String
This is the dialect in which the speaker will be assessed. Supported only for en-us and en-gb.
text
String
A sentence or sequence of words to validate. For example:
- With unknown words: Validate these words existeee.
- With known words: Validate these words exist.
If unknown words are found, the error_unknown_words
will be highlighted, accompanied by a detailed explanation provided in the detail_message
parameter.
If any unknown word is found, it will be highlighted under the key detail_message
with the error = error_unknown_words
.