Book Image

Python 3 Text Processing with NLTK 3 Cookbook

By : Jacob Perkins
Book Image

Python 3 Text Processing with NLTK 3 Cookbook

By: Jacob Perkins

Overview of this book

Table of Contents (17 chapters)
Python 3 Text Processing with NLTK 3 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Penn Treebank Part-of-speech Tags
Index

Chapter 4. Part-of-speech Tagging

In this chapter, we will cover the following recipes:

  • Default tagging

  • Training a unigram part-of-speech tagger

  • Combining taggers with backoff tagging

  • Training and combining ngram taggers

  • Creating a model of likely word tags

  • Tagging with regular expressions

  • Affix tagging

  • Training a Brill tagger

  • Training the TnT tagger

  • Using WordNet for tagging

  • Tagging proper names

  • Classifier-based tagging

  • Training a tagger with NLTK-Trainer