Solution
One way of solving the problem is to add the following rules
np(_) --> det, n, pp. pp --> p, np(obj).You also have to add lexicon entries for prepositions, such as
p --> [with].
SolutionOne way of solving the problem is to add the following rules np(_) --> det, n, pp. pp --> p, np(obj).You also have to add lexicon entries for prepositions, such as p --> [with]. |