Learn R Programming

nzilbb.labbcat (version 1.3-0)

removeDictionaryEntry: Removes an entry from a dictionary.

Description

This function removes an existing entry from the given dictionary.

Usage

removeDictionaryEntry(
  labbcat.url,
  manager.id,
  dictionary.id,
  key,
  entry = NULL
)

Value

NULL if the entry was removed, or a list of error messages if not.

Arguments

labbcat.url

URL to the LaBB-CAT instance

manager.id

The layer manager ID of the dictionary, as returned by getDictionaries

dictionary.id

The ID of the dictionary, as returned by getDictionaries

key

The key (word) in the dictionary to remove an entry for.

entry

The value (definition) for the given key, or NULL to remove all entries for the key.

Details

You must have edit privileges in LaBB-CAT in order to be able to use this function.

See Also

getDictionaries

getDictionaryEntries

Examples

Run this code
if (FALSE) {
## Remove a pronuciation of the word "robert" from the CELEX wordform pronunciation dictionary
removeDictionaryEntry(labbcat.url, "CELEX-EN", "Phonology (wordform)", "robert", "'rQ-bErt")
}

Run the code above in your browser using DataLab