AllowLooseGrammar

AllowLooseGrammar

is an option for GrammarRules and related functions that specifies whether grammatical "fluff" should automatically be ignored in applying grammar rules.

Details

  • AllowLooseGrammar->True specifies that simple grammatical transformations such as adding or removing articles should automatically be made.
  • AllowLooseGrammar->True also when possible ignores mismatched bracketing characters.

Examples

Basic Examples  (1)

Deploy a grammar that supports loose parsing:

Apply the grammar to loose inputs:

Apply the grammar but forbid the loose parsing:

Introduced in 2015
 (10.1)