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).

deleteLexicon(labbcat.url, lexicon)

Arguments

labbcat.url

URL to the LaBB-CAT instance.

lexicon

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

Value

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

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

Examples

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