deleteLexicon: Delete a previously loaded lexicon.

View source: R/deleteLexicon.R

deleteLexiconR Documentation

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)

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.

Value

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

See Also

loadLexicon

Examples

## Not run: 
## Delete the previously loaded CMU Pronouncing Dictionary lexicon
deleteLexicon(labbcat.url, "cmudict")

## End(Not run)


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