skip to main content
Skip header Section
Python Text Processing with NLTK 2.0 CookbookNovember 2010
Publisher:
  • Packt Publishing
ISBN:978-1-84951-360-9
Published:11 November 2010
Pages:
272
Skip Bibliometrics Section
Bibliometrics
Skip Abstract Section
Abstract

Use Python's NTLK suite of libraries to maximize your Natural Language Processing capabilities. Quickly get to grips with Natural Language Processing - with Text Analysis, Text Mining, and beyond. Learn how machines and crawlers interpret and process natural languages. Easily work with huge amounts of data and learn how to handle distributed processing. Part of Packt's Cookbook series: Each recipe is a carefully organized sequence of instructions to complete the task as efficiently as possible. In Detail Natural Language Processing is used everywhere - in search engines, spell checkers, mobile phones, computer games - even your washing machine. Python's Natural Language Toolkit (NTLK) suite of libraries has rapidly emerged as one of the most efficient tools for Natural Language Processing. You want to employ nothing less than the best techniques in Natural Language Processing - and this book is your answer. Python Text Processing with NTLK 2.0 Cookbook is your handy and illustrative guide, which will walk you through all the Natural Language Processing techniques in a step-by-step manner. It will demystify the advanced features of text analysis and text mining using the comprehensive NTLK suite. This book cuts short the preamble and you dive right into the science of text processing with a practical hands-on approach. Get started off with learning tokenization of text. Get an overview of WordNet and how to use it. Learn the basics as well as advanced features of Stemming and Lemmatization. Discover various ways to replace words with simpler and more common (read: more searched) variants. Create your own corpora and learn to create custom corpus readers for JSON files as well as for data stored in MongoDB. Use and manipulate POS taggers. Transform and normalize parsed chunks to produce a canonical form without changing their meaning. Dig into feature extraction and text classification. Learn how to easily handle huge amounts of data without any loss in efficiency or speed. This book will teach you all that and beyond, in a hands-on learn-by-doing manner. Make yourself an expert in using the NTLK for Natural Language Processing with this handy companion. What you will learn from this book Learn Text categorization and Topic identification Learn Stemming and Lemmatization and how to go beyond the usual spell checker Replace negations with antonyms in your text Learn to tokenize words into lists of sentences and words, and gain an insight into WordNet Transform and manipulate chunks and trees Learn advanced features of corpus readers and create your own custom corpora Tag different parts of speech by creating, training, and using a part-of-speech tagger Improve accuracy by combining multiple part-of-speech taggers Learn how to do partial parsing to extract small chunks of text from a part-of-speech tagged sentence Produce an alternative canonical form without changing the meaning by normalizing parsed chunks Learn how search engines use Natural Language Processing to process text Make your site more discoverable by learning how to automatically replace words with more searched equivalents Parse dates, times, and HTML Train and manipulate different types of classifiers Approach The learn-by-doing approach of this book will enable you to dive right into the heart of text processing from the very first page. Each recipe is carefully designed to fulfill your appetite for Natural Language Processing. Packed with numerous illustrative examples and code samples, it will make the task of using the NTLK for Natural Language Processing easy and straightforward. Who this book is written for This book is for Python programmers who want to quickly get to grips with using the NLTK for Natural Language Processing. Familiarity with basic text processing concepts is required. Programmers experienced in the NTLK will also find it useful. Students of linguistics will find it invaluable.

Cited By

  1. Torres-Ruiz M, Mata F, Zagal R, Guzmán G, Quintero R and Moreno-Ibarra M (2018). A recommender system to generate museum itineraries applying augmented reality and social-sensor mining techniques, Virtual Reality, 24:1, (175-189), Online publication date: 1-Mar-2020.
  2. Liu J, Wang J, Zhang C, Yang X, Deng J, Zhu R, Nan X and Chen Q Chinese Address Similarity Calculation Based on Auto Geological Level Tagging Advances in Neural Networks – ISNN 2019, (431-438)
  3. ACM
    Kanika , Chakraverty S, Chakraborty P, Agnihotri S, Mohapatra S and Bansal P KELDEC Proceedings of the 2019 3rd International Conference on Natural Language Processing and Information Retrieval, (99-103)
  4. Appel O, Chiclana F, Carter J and Fujita H (2018). Successes and challenges in developing a hybrid approach to sentiment analysis, Applied Intelligence, 48:5, (1176-1188), Online publication date: 1-May-2018.
  5. Naik R, Landge M and Namrata Mahender C. (2017). Plagiarism Detection in Marathi Language Using Semantic Analysis, International Journal of Strategic Information Technology and Applications, 8:4, (30-39), Online publication date: 1-Oct-2017.
  6. Appel O, Chiclana F, Carter J and Fujita H (2017). A Consensus Approach to the Sentiment Analysis Problem Driven by Support‐Based IOWA Majority, International Journal of Intelligent Systems, 32:9, (947-965), Online publication date: 3-Jul-2017.
  7. Appel O, Chiclana F, Carter J and Fujita H (2016). A hybrid approach to the sentiment analysis problem at the sentence level, Knowledge-Based Systems, 108:C, (110-124), Online publication date: 15-Sep-2016.
  8. ACM
    Zhou Y, Demidova E and Cristea A Who likes me more? Proceedings of the 31st Annual ACM Symposium on Applied Computing, (750-757)
  9. ACM
    Suthers D From contingencies to network-level phenomena Proceedings of the Fifth International Conference on Learning Analytics And Knowledge, (368-377)
  10. Arulanandam R, Savarimuthu B and Purvis M Extracting crime information from online newspaper articles Proceedings of the Second Australasian Web Conference - Volume 155, (31-38)
  11. Lehrman M, Alm C and Proaño R Detecting distressed and non-distressed affect states in short forum texts Proceedings of the Second Workshop on Language in Social Media, (9-18)
  12. Dinu L and Iuga I The naive bayes classifier in opinion mining Proceedings of the 13th international conference on Computational Linguistics and Intelligent Text Processing - Volume Part I, (556-567)
Contributors

Recommendations