Changes

Jump to navigation Jump to search
316 bytes added ,  16:37, May 5, 2012
Line 299: Line 299:     
But the above grammar can NOT generate sentences such as: '''a boys chases the sheep''', since this would violate the context-sensitive rules.
 
But the above grammar can NOT generate sentences such as: '''a boys chases the sheep''', since this would violate the context-sensitive rules.
 +
 +
====Discussion====
 +
It is in fact possible to handle singular/plural issues by using only a Level 2 context-free grammar, but the above rules expressed as a Level 1 context-sensitive grammar are a closer match to ordinary concepts of English grammar (e.g. nouns and verbs must agree in number i.e. singular/plural).
    
===Level 0===
 
===Level 0===
SkipCaptcha
265

edits

Navigation menu