preposition

Purpose

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

Syntax

preposition()

preposition(argument)

Arguments

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

Returned Value

Documents matching the query.

Examples

preposition() = lemma(preposition) matches all prepositions in the text.

preposition(in) = lemma(preposition, in) matches all occurrences of the preposition "in" in the text.