removeLayerDictionaryEntry: Removes an entry from a layer dictionary.

View source: R/removeLayerDictionaryEntry.R

removeLayerDictionaryEntryR Documentation

Removes an entry from a layer dictionary.

Description

This function removes an existing entry from the dictionary that manages a given layer, and updates all affected tokens in the corpus. Words can have multiple entries.

Usage

removeLayerDictionaryEntry(labbcat.url, layer.id, key, entry = NULL)

Arguments

labbcat.url

URL to the LaBB-CAT instance

layer.id

The ID of the layer with a dictionary configured to manage it.

key

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

entry

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

Details

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

Value

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

See Also

generateLayer

Examples

## Not run: 
## Remove a pronunciation for "robert" from the phonemes layer dictionary
removeLayerDictionaryEntry(labbcat.url, "phonemes", "robert", "'rQ-bErt")

## End(Not run)


nzilbb.labbcat documentation built on July 26, 2023, 6:08 p.m.