show_entry: Show lexicon entry with given id

View source: R/lexicon.R

show_entryR Documentation

Show lexicon entry with given id

Description

It shows the entry with the given id.

Usage

show_entry(lexadb, entry_id)

Arguments

lexadb

A lexadb object (created with load_lexadb).

entry_id

A string with the entry id (the lx_ prefix and leading zeros can be omitted.)

Value

A lexalx object.

Examples

db_path <- system.file("extdata/eleryon_lexadb", package = "lexa")
eleryon <- load_lexadb(db_path)

show_entry(eleryon, 6)
# Same as:
show_entry(eleryon, "lx_000006")

stefanocoretta/lexa documentation built on Feb. 4, 2024, 6:49 p.m.