verb

Purpose

The function is used to search for verbs. It duplicates the functionality of the functions lemma(), stem(), form(), partofspeech() allowing to write a query in a more concise way.

Syntax

verb()

verb(argument)

Arguments

The function accepts single argument. When used without arguments, the function matches any verb.

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

singular

sing, sg

matches singular number verbs

finds, smells …​

plural

plur, pl

matches plural number verbs

call, announce…​

participle

vprt

matches participles

doing, done …​

modal

modl

matches modal verbs

can …​

present

matches present tense verbs

starring, makes …​

past

matches past tense verbs

made, was, played …​

…​

It is possible to specify multiple optional named parameters to specify a search, using an underscore "_" (AND) or vertical bar symbol "|" (OR).

Returned Value

Documents matching the query.

Examples

verb() = lemma(verb) matches all verbs in the text.

verb(past) matches all verbs in the past simple form.

verb(past, book) = partofspeech(verb_past, book) matches all occurrences of the past form of the word "book".

verb(past, book, head) = partofspeech(verb_past, book, head) matches all occurrences of the past form of the words "book" and "head".

verb(past|present) = partofspeech(verb_past|verb_present) matches all occurrences of the verbs in past or present tense.