From the course: Build Three Real-World Python Applications
What is text analysis? - Python Tutorial
From the course: Build Three Real-World Python Applications
What is text analysis?
- In the previous chapter, we got a glimpse of some text analysis techniques with using the new sentiment Alpha Vantage function. In this chapter, we will explore some techniques for text analysis along with what they can do. Text analysis is where we use computers to analyze text data to better understand what is being said and the meaning behind it. This is part of what we call natural language processing. Natural language processing, also known as NLP, is a subfield of artificial intelligence where computers process and understand human language. The input may be written or spoken words for the computer to process. We have a wide range of what we can analyze with text analysis. For example, we can see what words are popular and show up frequently in our text. We can see what the overall sentiment is of the text such as if it is generally positive or negative. We can also discover what some common topics are in our text. Our analysis in Python will heavily use the NLTK Python package. The NLTK package stands for Natural Language Toolkit, and it is an industry standard to perform natural language processing. It has over 50 corporate and lexical resources along with libraries for tokenization, stemming, parsing, tagging, classification, and semantic reasoning. Why would we want to analyze text data in the first place? Text data is widely used throughout the internet and our daily lives. The more we can leverage these analyses, the more we can better understand human behavior, provide language-based solutions, and learn more about text products such as novels and blogs. Some applications of natural language processing are translators between two languages, a spell checker on a text application, a virtual assistant device on your computer, and a filter for filtering out spam emails. We will explore how to better understand the text from a novel in this chapter. Know that the techniques we teach can be expanded upon and use with other text data, such as analyzing product reviews, blog posts, news articles and social media posts.
Contents
-
-
-
-
-
What is text analysis?2m 12s
-
(Locked)
Introducing Project Gutenberg and "Great Expectations"2m 5s
-
(Locked)
How to pull text data3m 33s
-
(Locked)
How to clean text data6m 34s
-
(Locked)
How to create a word cloud3m 39s
-
(Locked)
How to improve a word cloud3m 47s
-
(Locked)
How to analyze word frequency4m 10s
-
(Locked)
How to perform Vader sentiment analysis7m 28s
-
(Locked)
How to build a corpus and dictionary for topic modeling4m 36s
-
(Locked)
How to perform topic modeling6m 46s
-
(Locked)
Challenge: Analyze "Sense and Sensibility"2m 53s
-
(Locked)
Solution: Analyze "Sense and Sensibility"4m 55s
-
-