adverb
Purpose
The function is used to search for adverbs. It duplicates the functionality of the functions lemma(), stem(), form(), partofspeech() allowing to write a query in a more concise way.
Arguments
The function accepts single argument. When used without arguments, the function matches any adverb.
The function accepts the same optional named parameters as the functions lemma(), stem(), form(), partofspeech().
One can also specify only a grammatical value as an argument:
Grammatical Value |
Synonym |
Description |
Examples |
comparative |
matches comparative adverbs |
better, easier … |
|
superlative |
matches superlative adverbs |
best, worst … |
Examples
adverb() = lemma(adverb) matches all adverbs in the text. adverb(DegreeComparative) matches all adverbs in comparative form. adverb(DegreeComparative, well) = partofspeech(adverb_DegreeComparative, well) matches all occurrences of the word "better", comparative form of the word "well". adverb(DegreeComparative, well, badly) = partofspeech(adverb_DegreeComparative, well, badly) matches all occurrences of the comparative form of the words "well" and "badly" ("better", "badly").