modality
Purpose
Finds documents that contain arguments expressing modality, for example, possibility, desirability, permissibility, necessity.
Modality can be expressed both lexically ("perhaps", "maybe") and grammatically (modal verbs like "could", "would", "may", "should", conjunctions "if", "whether").
Arguments
The function has no required arguments.
The function accepts as the first optional named parameters yes that finds arguments expressing any modality and no that finds non-modal arguments. If these parameters are not specified, the function finds all modal contexts. In order to narrow the query, one can also specify terms to be found as the second optional argument.