pronoun

Purpose

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

Syntax

pronoun()

pronoun(argument)

Arguments

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

Returned Value

Documents matching the query.

Examples

pronoun() = lemma(pronoun) matches all pronouns in the text.

pronoun(we) = partofspeech(PronounPersonal, we) matches all occurrences of personal pronoun "we".

pronoun(what, who) = partofspeech(PronounInterrogative, what, who) matches all occurrences of the interrogative pronouns "what" and "who".