Python Natural Language Processing
上QQ阅读APP看书,第一时间看更新

Exercise

  1. Generate a parse tree by using the rule given previously in this section and generate the parse tree for the following sentence:
    She sings a song.
  2. Generate production rules and make a parse tree for the following sentence:
    That boy is reading a book.