- import a text file which contains a list of words / expressions / abbreviations (one per line)
- import an existing acapela compatible dictionary in text format
- enter manually a new word.
Field | Type | Description |
token | String | Token returned by the login function 'Authorization': 'Token ' + token |
Field | Type | Value - Description |
type | String | language_list |
Value | Description | Response |
200 | List of the language available | Json string |
400 | Error | {'error':'Error description'} |
Field | Type | Description |
token | String | Token returned by the login function 'Authorization': 'Token ' + token |
Field | Type | Value - Description |
type | String | nature_list |
Value | Description | Response |
200 | List of the nature available for a the words | Json string |
400 | Error | {'error':'Error description'} |
Field | Type | Description |
token | String | Token returned by the login function 'Authorization': 'Token ' + token |
Field | Type | Value - Description |
type | String | phoneme_list |
language | String | language id (id value returned by the language list function) |
Value | Description | Response |
200 | List of the phoneme available for a given language | Json string |
400 | Error | {'error':'Error description'} |
Field | Type | Description |
token | String | Token returned by the login function 'Authorization': 'Token ' + token |
Field | Type | Value - Description |
type | String | add_dico |
name | String | dictionary name |
language | String | language of dictionary (value returned by the language_list function) |
voice (optional) | String | specific voice (some voice may have specific phonetic rules) e.g. max, harry ...) |
Value | Description | Response |
200 | Dictionary added | Json string |
400 | Error | {'error':'Error description'} |
Field | Type | Description |
token | String | Token returned by the login function 'Authorization': 'Token ' + token |
Field | Type | Value - Description |
type | String | dico_list |
Value | Description | Response |
200 | List of the your dictionaries | Json string |
400 | Error | {'error':'Error description'} |
Field | Type | Description |
token | String | Token returned by the login function 'Authorization': 'Token ' + token |
Field | Type | Value - Description |
type | String | check_word |
word | String | word for which you want the phonetic transcription |
language | String | word language id (id returned by the get language function) |
voice (optional) | String | specific voice (some voice may have specific phonetic rules) e.g. max, harry ...) |
Value | Description | Response |
200 | List of the language available | Json string |
400 | Error | {'error':'Error description'} |
Value | Description |
is_oov = false | The item is very likely well pronounced |
is_ool = false | The item is most likely well pronounced |
is_oov = true or is_ool = true | The item may be mispronounced |
Field | Type | Description |
token | String | Token returned by the login function 'Authorization': 'Token ' + token |
Field | Type | Value - Description |
type | String | add_entry |
dic_id | String | Dictionary id in which you want to add/update the entry (id returned by the dico list function) |
word | String | word for which you want to add/update an alternative transcription/pronunciation |
nature | String | Nature of the word (id returned by the nature list function) |
transcription | String | Phonetic transcription for the word (you can get the phonetic transcription of a word using check_word function) |
validated | boolean | True if want the word to be exported when you generate the dictionary |
Value | Description | Response |
200 | Entry added/updated | Json string |
400 | Error | {'error':'Error description'} |
Field | Type | Description |
token | String | Token returned by the login function 'Authorization': 'Token ' + token |
Field | Type | Value - Description |
type | String | dico_content |
dic_id | String | dictionary id (returned by the dico list function) |
Value | Description | Response |
200 | List of the entries in the dictionary | Json string |
400 | Error | {'error':'Error description'} |
Field | Type | Description |
token | String | Token returned by the login function 'Authorization': 'Token ' + token |
Field | Type | Value - Description |
type | String | delete_entry |
dic_id | String | Dictionary id in which you want to add/update the entry (id returned by the dico list function) |
entry_id | String | Entry id (id returned by the dico content function) |
Value | Description | Response |
200 | Entry deleted | Json string |
400 | Error | {'error':'Error description'} |
Field | Type | Description |
token | String | Token returned by the login function 'Authorization': 'Token ' + token |
Field | Type | Value - Description |
type | String | export_dico |
dic_id | String | Dictionary id to generate (id returned by the dico list function) |
dic_name | String | The dictionary filename that will be used for the generated dictionary |
Value | Description | Response |
200 | Dictionary generated | Json string |
400 | Error | {'error':'Error description'} |
Field | Type | Description |
token | String | Token returned by the login function 'Authorization': 'Token ' + token |
Field | Type | Value - Description |
type | String | delete_dico |
dic_id | String | Dictionary id in which you want to add/update the entry (id returned by the dico list function) |
Value | Description | Response |
200 | Dictionary deleted | Json string |
400 | Error | {'error':'Error description'} |