Create a pronunciation dictionary from rules
Creates a new pronunciation dictionary from provided rules.
Headers
xi-api-key
Request
This endpoint expects an object.
rules
List of pronunciation rules. Rule can be either: an alias rule: {‘string_to_replace’: ‘a’, ‘type’: ‘alias’, ‘alias’: ‘b’, } or a phoneme rule: {‘string_to_replace’: ‘a’, ‘type’: ‘phoneme’, ‘phoneme’: ‘b’, ‘alphabet’: ‘ipa’ }
name
The name of the pronunciation dictionary, used for identification only.
description
A description of the pronunciation dictionary, used for identification only.
workspace_access
Should be one of 'admin', 'editor' or 'viewer'. If not provided, defaults to no access.
Response
Successful Response
id
The ID of the created pronunciation dictionary.
name
The name of the created pronunciation dictionary.
created_by
The user ID of the creator of the pronunciation dictionary.
creation_time_unix
The creation time of the pronunciation dictionary in Unix timestamp.
version_id
The ID of the created pronunciation dictionary version.
version_rules_num
The number of rules in the version of the pronunciation dictionary.
permission_on_resource
The permission on the resource of the pronunciation dictionary.
description
The description of the pronunciation dictionary.
Errors
422
Unprocessable Entity Error