negate

Purpose

Finds documents that contain arguments in negative contexts.

Syntax

negate(term_1 [, term_2,..])

Arguments

The function accepts one or more words as its arguments.

The function also supports the optional named parameter match:=whole that matches negative markers ("not", "no", "never") and negated terms.

Returned Value

Documents matching the query.

Examples

negate(work) matches documents that contain patterns such as "not working" or "does not work" or "stopped working".

negate(violation, match:=whole) matches "denies any violations", "court found no violation".