View source: R/getDictionaryEntries.R
getDictionaryEntries | R Documentation |
Lookup entries in a dictionary.
getDictionaryEntries(labbcat.url, manager.id, dictionary.id, keys)
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 |
A data frame with the keys and their dictionary entries, if any.
getDictionaries
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.