Have a personal or library account? Click to login
Python 3 Text Processing with NLTK 3 Cookbook Cover

Python 3 Text Processing with NLTK 3 Cookbook

Python 3 Text Processing with NLTK 3 Cookbook

Paid access
|Oct 2025
Product purchase options

Key Features

    Book Description

    This book is intended for Python programmers interested in learning how to do natural language processing. Maybe you’ve learned the limits of regular expressions the hard way, or you’ve realized that human language cannot be deterministically parsed like a computer language. Perhaps you have more text than you know what to do with, and need automated ways to analyze and structure that text. This Cookbook will show you how to train and use statistical language models to process text in ways that are practically impossible with standard programming tools. A basic knowledge of Python and the basic text processing concepts is expected. Some experience with regular expressions will also be helpful.

    What you will learn

    • Tokenize text into sentences, and sentences into words
    • Look up words in the WordNet dictionary
    • Apply spelling correction and word replacement
    • Access the builtin text corpora and create your own custom corpus
    • Tag words with parts of speech
    • Chunk phrases and recognize named entities
    • Grammatically transform phrases and chunks
    • Classify text and perform sentiment analysis

    Who this book is for

    Table of Contents

    1. Tokenizing Text and WordNet Basics
    2. Replacing and Correcting Words
    3. Creating Custom Corpora
    4. Tagging Part of Speech
    5. Extraction Chunks: Partial Parsing
    6. Transforming and Normalizing Chunks
    7. Extracting Features for Classifying Words and Chunks
    8. Distributed Processing and Handling Large Datasets
    9. Parsing and Matching Specific Data
    10. Appendix 1
    PDF ISBN: 978-1-78216-786-0
    Publisher: Packt Publishing Limited
    Copyright owner: © 2014 Packt Publishing Limited
    Publication date: 2025
    Language: English
    Pages: 304
    Related subjects: