Production System Example

An example from Luger & Stubblefield (1998) uses a type of product system to reach the goal:

Rules

  1. Sentence = Noun_Phrase + Verb_Phrase
  2. Noun_Phrase = Adjective + Noun
  3. Noun_Phrase = Article + Noun
  4. Noun_Phrase = Noun
  5. Verb_Phrase = Verb
  6. Verb_Phrase = Verb + Noun Phrase
  7. Article = ‘a’
  8. Article = ‘the’
  9. Noun = ‘man’
  10. Noun = ‘dog’
  11. Verb = ‘likes’
  12. Verb = ‘bites’

Note: this is by no means an exhaustive list of sentence breakdowns

Thus the sentence "The dog bites the man" can be parsed as follows:

Output Rule
Sentence 1
Noun_phrase + Verb_Phrase 3
Article + Noun + Verb_Phrase 8
‘The’ + Noun + Verb_Phrase 10
‘The’ + ‘dog’ + Verb_Phrase 6
‘The’ + ‘dog’ + Verb + Noun_Phrase 12
‘The’ + ‘dog’ + ‘bites’ + Noun_Phrase 3
‘The’ + ‘dog’ + ‘bites’ + Article + Noun 8
‘The’ + ‘dog’ + ‘bites’ + ‘the’ + Noun 9

‘The’ + ‘dog’ + ‘bites’ + ‘the’ + ‘man’