Learn R Programming

nzilbb.labbcat (version 1.5-1)

getDictionaryEntries: Lookup entries in a dictionary

Description

Lookup entries in a dictionary

Usage

getDictionaryEntries(labbcat.url, manager.id, dictionary.id, keys)

Value

A data frame with the keys and their dictionary entries, if any.

Arguments

labbcat.url

URL to the LaBB-CAT instance

manager.id

The layer manager ID of the dictionary, as returned by getDictionaries

dictionary.id

The ID of the dictionary, as returned by getDictionaries

keys

A list of keys (words) identifying entries to look up

See Also

Other dictionary functions: addDictionaryEntry(), addLayerDictionaryEntry(), deleteLexicon(), getDictionaries(), loadLexicon(), removeDictionaryEntry(), removeLayerDictionaryEntry()

Examples

Run this code
if (FALSE) {
keys <- c("the", "quick", "brown", "fox")

## get the pronunciations according to CELEX
entries <- getDictionaryEntries(labbcat.url, "CELEX-EN", "Phonology (wordform)", keys)
}

Run the code above in your browser using DataLab