
Learn natural language processing basics with spaCy, covering parts of speech, lemmatization vs stemming, named entity recognition, stopwords, dependency parsing, and word similarity.
Install the spaCy library in Google Colab, explore its language support, and enable NLP tasks such as named entity recognition, sentence segmentation, part of speech, dependency parsing, and text classification.
Learn how named entity recognition identifies and classifies entities such as people, locations, dates, and money in text, with examples like IBM, U.S., San Francisco, 2018, and $320 billion.
Implement a dependence parsing example and recap concepts using cities and actions identified by named entity recognition. Print locations and actions and illustrate how visit relates to stay through relations.
Generate word clouds from cleaned text to visualize common words. Note how word clouds remove stopwords and punctuation, while Nltk may not, with preprocessing and frequency comparison.
Explore the intuition of a frequency-based text summarization algorithm, covering pre-processing, word frequency and weights, sentence tokenization, and scoring to select top sentences for the summary.
Simulate a chatbot using cosine similarity to match user greetings to predefined responses, tokenize input with split, normalize case, and return a random welcome message.
Develop a chatbot by implementing an answer function that preprocesses user input, applies tf-idf with cosine similarity, and returns the most relevant natural language processing sentence or a no-answer message.
Load and explore the Twitter dataset in Google Colab, install Spacey, and prepare the text and sentiment columns for a sentiment analysis study.
Explore classification and decision trees through a bank loan dataset, using training dataset to build a tree that predicts risk based on income and credit history.
Train a custom sentiment analyzer with spaCy, building a two-class (positive and negative) classifier from a simple dataset and a text classification pipe.
This lecture trains a spaCy sentiment classifier with a neural network. It covers epochs, data shuffling, mini-batches, doc creation, annotations, and saving the model to disk.
Evaluate the spaCy sentiment classifier on the test data, compare accuracy with tf-idf, and review the classification report and confusion matrix. Learn to build a custom sentiment analyzer using spaCy.
The area of Natural Language Processing (NLP) is a subarea of Artificial Intelligence that aims to make computers capable of understanding human language, both written and spoken. Some examples of practical applications are: translators between languages, translation from text to speech or speech to text, chatbots, automatic question and answer systems (Q&A), automatic generation of descriptions for images, generation of subtitles in videos, classification of sentiments in sentences, among many others! Learning this area can be the key to bringing real solutions to present and future needs!
Based on that, this course was designed for those who want to grow or start a new career in Natural Language Processing, using the spaCy and NLTK (Natural Language Toolkit) libraries and the Python programming language! SpaCy was developed with the focus on use in production and real environments, so it is possible to create applications that process a lot of data. It can be used to extract information, understand natural language and even preprocess texts for later use in deep learning models.
The course is divided into three parts:
In the first one, you will learn the most basic natural language processing concepts, such as: part-of-speech, lemmatization, stemming, named entity recognition, stop words, dependency parsing, word and sentence similarity and tokenization
In the second part, you will learn more advanced topics, such as: preprocessing function, word cloud, text summarization, keyword search, bag of words, TF-IDF (Term Frequency - Inverse Document Frequency), and cosine similarity. We will also simulate a chatbot that can answer questions about any subject you want!
Finally, in the third and last part of the course, we will create a sentiment classifier using a real Twitter dataset! We will implement the classifier using NLTK, TF-IDF and also the spaCy library
This can be considered the first course in natural language processing, and after completing it, you can move on to more advanced materials. If you have never heard about natural language processing, this course is for you! At the end you will have the practical background to develop some simple projects and take more advanced courses. During the lectures, the code will be implemented step by step using Google Colab, which will ensure that you will have no problems with installations or configurations of software on your local machine.