search_texts | R Documentation |
Search words in the texts collection.
search_texts(lexadb, word = NULL, whole = TRUE, gloss = NULL)
lexadb |
A |
word |
A regular expression to search among the sentences. |
whole |
Whether to search for whole words ( |
gloss |
A regular expression to search among the glosses. |
A list of lexalx
objects.
db_path <- system.file("extdata/albanian_lexadb", package = "lexa")
albanian <- load_lexadb(db_path)
search_texts(albanian, "rrezet")
search_texts(albanian, gloss = "sun")
search_texts(albanian, gloss = "traveller")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.