Question
- a) Describe the statistical classification technique [4 Marks]
- b) Consider a company in Nairobi that decides whether to employ a fresh graduate based on the values of the following attributes: Consider the following context-free rules are used to describe noun phrases:
noun_phrase ? noun
noun_phrase ? article noun
noun ? man
noun ? dog
article ?
article ? the</p><p>a) Extend the grammar to include preposition phrases. A preposition phrase is a preposition followed b) Show also the parse tree for the phrase:
the dog in the house on the prairie [8 Marks]