deleteLexicon {nzilbb.labbcat} | R 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
Other dictionary functions:
addDictionaryEntry()
,
addLayerDictionaryEntry()
,
getDictionaries()
,
getDictionaryEntries()
,
loadLexicon()
,
removeDictionaryEntry()
,
removeLayerDictionaryEntry()
Examples
## Not run:
## Delete the previously loaded CMU Pronouncing Dictionary lexicon
deleteLexicon(labbcat.url, "cmudict")
## End(Not run)
[Package nzilbb.labbcat version 1.4-0 Index]