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

Exercise

  1. Do a morphological analysis like we did in Figure 3.3 for the morphemes in redness, quickly, teacher, unhappy, and disagreement. Define prefixes, suffixes, verbs, and stems.
  2. Generate the stems of the words redness, quickly, teacher, disagreement, reduce, construction, deconstruction, and deduce using the nltk and polyglot libraries.
  3. Generate the stems and roots of disagree, disagreement, historical.