getDictionaryEntries: Lookup entries in a dictionary.

View source: R/getDictionaryEntries.R

getDictionaryEntriesR Documentation

Lookup entries in a dictionary.

Description

Lookup entries in a dictionary.

Usage

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

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

Value

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

See Also

getDictionaries

Examples

## Not run: 
## define the LaBB-CAT URL
labbcat.url <- "https://labbcat.canterbury.ac.nz/demo/"

keys <- c("the", "quick", "brown", "fox")

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

## End(Not run)


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