numeral

Purpose

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

Syntax

numeral()

numeral(argument)

Arguments

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

Returned Value

Documents matching the query.

Examples

numeral() = lemma(numeral) matches all numerals in the text. numeral(fourth) = partofspeech(fourth) matches all occurrences of the ordinal numeral "fourth". numeral(one, two) = partofspeech(one, two) matches all occurrences of the cardinal numerals "one" and "two".