Save pronunciation rules once and reuse them by
lexicon_id on any batch request or realtime reply.Lexicon object holds pronunciation rules for words such as brand names and acronyms. Pass its lexicon_id when you use batch or open a realtime reply.
The Lexicon Object
Attributes
Example Lexicon Object
Create a Lexicon
Create a lexicon. An organization can have up to 100.Arguments
Response
Returns the Lexicon object, with the request’sapi_id and "message": "created".
Retrieve a Lexicon
Get one lexicon by its ID.Arguments
No arguments required.Response
Returns the Lexicon object, with the request’sapi_id. Returns 404 not_found if the lexicon doesn’t exist.
List All Lexicons
List every lexicon in your organization.Arguments
No arguments. Query parameters aren’t accepted: one returns422 invalid_request naming it.
Response
Your Lexicon objects.
Delete a Lexicon
Permanently delete a lexicon.Arguments
No arguments required.Response
Returns200 on success. Returns 404 not_found if the lexicon doesn’t exist.
Synthesizing with a deleted
lexicon_id returns 422 invalid_request with param: lexicon_id.