powered by
This function creates adds a new entry to the given dictionary.
addDictionaryEntry(labbcat.url, manager.id, dictionary.id, key, entry)
NULL if the entry was added, or a list of error messages if not.
URL to the LaBB-CAT instance
The layer manager ID of the dictionary, as returned by getDictionaries
The ID of the dictionary, as returned by getDictionaries
The key (word) in the dictionary to add an entry for.
The value (definition) for the given key.
You must have edit privileges in LaBB-CAT in order to be able to use this function.
getDictionaries
getDictionaryEntries
if (FALSE) { ## Add the word "robert" to the CELEX wordform pronunciation dictionary addDictionaryEntry(labbcat.url, "CELEX-EN", "Phonology (wordform)", "robert", "'rQ-b@t") }
Run the code above in your browser using DataLab