Learn R Programming

nzilbb.labbcat (version 1.3-0)

deleteLexicon: Delete a previously loaded lexicon.

Description

By default LaBB-CAT includes a layer manager called the Flat Lexicon Tagger, which can be configured to annotate words with data from a dictionary loaded from a plain text file (e.g. a CSV file).

Usage

deleteLexicon(labbcat.url, lexicon)

Value

NULL if the deletion was successful, or an error message if not.

Arguments

labbcat.url

URL to the LaBB-CAT instance.

lexicon

The name of the lexicon to delete, e.g. 'cmudict'

Details

This function deletes such a lexicon, which was previously added using loadLexicon.

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

See Also

loadLexicon

Examples

Run this code
if (FALSE) {
## Delete the previously loaded CMU Pronouncing Dictionary lexicon
deleteLexicon(labbcat.url, "cmudict")
}

Run the code above in your browser using DataLab