context-sensitive grammar

Terms from Artificial Intelligence: humans at the heart of algorithms

The glossary is being gradually proof checked, but may have typos and misspellings.

A context-sensitive grammar has rules where the expansion of a non-terminal may depend on the tokens before or after.

Also known as: context sensitivity, context-sensitive