Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Natural Language Processing with Java and LingPipe Cookbook

You're reading from  Natural Language Processing with Java and LingPipe Cookbook

Product type Book
Published in Nov 2014
Publisher
ISBN-13 9781783284672
Pages 312 pages
Edition 1st Edition
Languages

Table of Contents (14) Chapters

Natural Language Processing with Java and LingPipe Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Simple Classifiers 2. Finding and Working with Words 3. Advanced Classifiers 4. Tagging Words and Tokens 5. Finding Spans in Text – Chunking 6. String Comparison and Clustering 7. Finding Coreference Between Concepts/People Index

Classifier-building life cycle


At the top-level building, a classifier usually proceeds as follows:

  1. Create training data—refer to the following recipe for more about this.

  2. Build training and evaluation infrastructure with sanity check.

  3. Establish baseline performance.

  4. Select optimization metric for classifier—this is what the classifier is trying to do and will guide tuning.

  5. Optimize classifier via techniques such as:

    • Parameter tuning

    • Thresholding

    • Linguistic tuning

    • Adding training data

    • Refining classifier definition

This recipe will present the first four steps in concrete terms, and there are recipes in this chapter for the optimization step.

Getting ready

Nothing happens without training data for classifiers. Look at the Annotation recipe at the end of the chapter for tips on creating training data. You can also use an active learning framework to incrementally generate a training corpus (covered later in this chapter), which is the data used in this recipe.

Next, reduce the risk by starting with the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}