Search by Lemma
Using the function lemma(), it is possible to enter a lemma, i.e. the dictionary form of a word, and retrieve all forms of this lemma.
Syntax
The first optional argument grammatical_value indicates the required part of speech and takes one of the values below:
Grammatical value |
Examples |
noun |
price, cash |
verb |
talk, runs |
adverb/advb |
directly, greatly |
adjective/adjc |
medical, highest |
particle/prcl |
in, or |
pronoun/pron |
we, its |
numeral/nmrl |
2018, first |
article/arcl |
a, the |
preposition/prep |
in, from, of |
interjection/intj |
please, yes, oh |
conjunction/conj |
or, and |
lemma() takes only the dictionary form of a word as an argument (verb infinitives, singular nouns in nominative case, and positive degree adjectives) and returns all forms of the specified lemma.
Example
Note
A function with several arguments is equivalent to several functions with a single argument concatenated using the or operator:
The function lemma() also supports morphological search (see Morphological Search).