Book Image

Text Processing Using NLTK in Python [Video]

By : Krishna Bhavsar, V Naresh Kumar, Pratap Dangeti
Book Image

Text Processing Using NLTK in Python [Video]

By: Krishna Bhavsar, V Naresh Kumar, Pratap Dangeti

Overview of this book

<p>Natural Language Processing (NLP) is a feature of Artificial Intelligence concerned with the interactions between computers and human (natural) languages. This course includes unique videos that will teach you various aspects of performing Natural Language Processing with NLTK—the leading Python platform for the task.</p> <p>In this course, you will learn what WordNet is and explore its features and usage. It will teach how to extract raw text from web sources and introduce some critical pre-processing steps. You will also get familiarized with the concept of pattern matching as a way to do text analysis.</p> <p>By the end of the course, you will be confident &amp; have covered various solutions, covering natural language understanding, Natural Language Processing, and syntactic analysis.</p> <p>All the code and supporting files for this course are available on Github at <a style="color: #fa8d11;" href="https://github.com/PacktPublishing/Text-Processing-using-NLTK-in-Python" target="blank">https://github.com/PacktPublishing/Text-Processing-using-NLTK-in-Python</a></p> <h1>Style and Approach</h1> <p>This video course takes a solution-based approach where every topic is explicated with the help of a real-world example.</p>
Table of Contents (4 chapters)
Chapter 4
Regular Expressions
Content Locked
Section 4
Creating Date Regex
In this video, we shall first run a simple date regex. Along with that, we will learn the significance of the () groups. Since that's too less to include in a recipe, we shall also throw in some more things like the squared brackets [], which indicate a set. - Declare a url object and write a simple date finder regular expression - Apply date_regex to url - Call the function on two different types of inputs