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)Summary of the most common use cases
Deploy a grammar that supports loose parsing:

https://wolfram.com/xid/0gctz8qhhxghk0jfxe-tbv3oy

Apply the grammar to loose inputs:

https://wolfram.com/xid/0gctz8qhhxghk0jfxe-7yqbh5


https://wolfram.com/xid/0gctz8qhhxghk0jfxe-s38jk6


https://wolfram.com/xid/0gctz8qhhxghk0jfxe-4brj0l

Apply the grammar but forbid the loose parsing:

https://wolfram.com/xid/0gctz8qhhxghk0jfxe-rggdn3


https://wolfram.com/xid/0gctz8qhhxghk0jfxe-wc3bjv

Wolfram Research (2015), AllowLooseGrammar, Wolfram Language function, https://reference.wolfram.com/language/ref/AllowLooseGrammar.html.
Text
Wolfram Research (2015), AllowLooseGrammar, Wolfram Language function, https://reference.wolfram.com/language/ref/AllowLooseGrammar.html.
Wolfram Research (2015), AllowLooseGrammar, Wolfram Language function, https://reference.wolfram.com/language/ref/AllowLooseGrammar.html.
CMS
Wolfram Language. 2015. "AllowLooseGrammar." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AllowLooseGrammar.html.
Wolfram Language. 2015. "AllowLooseGrammar." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AllowLooseGrammar.html.
APA
Wolfram Language. (2015). AllowLooseGrammar. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AllowLooseGrammar.html
Wolfram Language. (2015). AllowLooseGrammar. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AllowLooseGrammar.html
BibTeX
@misc{reference.wolfram_2025_allowloosegrammar, author="Wolfram Research", title="{AllowLooseGrammar}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/AllowLooseGrammar.html}", note=[Accessed: 09-May-2025
]}
BibLaTeX
@online{reference.wolfram_2025_allowloosegrammar, organization={Wolfram Research}, title={AllowLooseGrammar}, year={2015}, url={https://reference.wolfram.com/language/ref/AllowLooseGrammar.html}, note=[Accessed: 09-May-2025
]}