
By the end of this section, not the course, the course is updated!
Install the required packages and software using Anaconda and terminal commands, create a new project, and set up semantic modeling tools like gensim with butter for proper functioning.
Explore stemming to convert words to their base forms, handle variations of the same word, and enable text analysis and statistics by reducing forms to a common base.
Explore lemmatization in natural language processing with Python by converting words to base forms, iterating over vocabularies, and formatting outputs for comparison.
Build a bag of words by extracting term frequencies from text chunks. Read input data, split into chunks, and produce a document-term matrix with count vectorizer, revealing the vocabulary.
Build a category predictor for text classification using tf-idf features with idf weighting, trained on a corpus to infer categories like sports, politics, or science.
Train a category predictor for a five-class text classification task using a count vectorizer and tf-idf transformer on a fetched scikit-learn dataset, then train a multinomial classifier and evaluate outputs.
Identify gender in NLP by analyzing the last letters of names to predict male or female. Explore how many letters to consider to find the best parameter.
Define a function to extract the last two letters of each name, lowercase them, and use these features to identify gender, with an 80/20 training–testing split and accuracy reporting.
Explore sentiment analysis within natural language processing on a movie reviews dataset, training a model to classify reviews as positive or negative using base classifiers and top informative words.
This lecture guides building a Python sentiment analyzer for movie reviews, using feature extraction and a dictionary of features, a top 15 informative features selection, and an 80/20 train-test split.
Master natural language processing with Python, covering tokenization, lemmatization, and a bag of words with a document-term matrix for text classification, sentiment analysis, gender identification, and topic modeling.
Explore fundamental and advanced feature engineering methods for text data. Learn how turning unstructured text into numerical features powers NLP models, with notes on advantages, disadvantages, and examples.
Explore the count vectorizer to convert text into features by counting word occurrences, addressing frequency limitations of binary bag-of-words representations.
This lecture explains n-grams as a solution to losing context when analyzing text, showing unigram, bigram, and trigram features and using a count vectorizer to generate them with Python libraries.
Learn hash vectorizing in natural language processing with Python, using the hashing trick to encode text as memory efficient numerical indices. Produce fixed-size vectors for supervised or unsupervised tasks.
Word embedding maps words to vectors that capture context and semantic relations. CBOW and skip-gram models trained on corpora learn word similarities and analogies, such as king to queen.
Download external, labeled movie review corpus using the categorized plaintext corpus reader, then access positive and negative categories and print sample documents for sentiment analysis.
Explore frequency distribution on informal web text corpora, counting distinct words and revealing the ten most common tokens, while learning how preprocessing improves results in NLP with Python.
Explore WordNet basics by extracting hyponyms and hypernyms in Python, tracing word senses from root to leaf nodes, and identifying direct parent terms like adult and female for woman.
Learn how to compute the average policy for nouns using WordNet senses and part of speech filters, with hands-on Python code to gather distinct lemmas.
Explore tokenization by segmenting text into tokens and building a lexicon for NLP. Convert these tokens into bag-of-words vectors to power machine learning, document retrieval, and search.
Explore tokenizing sentences with whitespace using the split method, address punctuation in tokens, and convert words to numerical vector representations for NLP tasks.
Build a vocabulary of unique tokens, encode documents with one-hot vectors, and explore vocabulary size using Banda's data frames with a default integer row index.
Convert sentences into one-hot and bag-of-words vectors to preserve meaning for neural language models and NLP pipelines, enabling efficient, scalable processing of large vocabularies.
Understand the dot product, aka inner or scalar product, which yields a single value from elementwise vector multiplication and summation, and its link to matrix product and inner joins.
Examine the bag-of-words approach by counting word occurrences, normalizing term frequency, and filtering stop words through tokenization to compare documents in natural language processing with Python.
Explore the vector space representation of documents and the corpus vocabulary, then use cosine similarity and dot products to compare document vectors.
Learn how term frequency and inverse document frequency combine to form tf-idf, weighting words by their importance across a corpus to enable topic modeling and document comparison.
Explore how tf-idf weights words by inverse document frequency to build vector space representations of word meanings, enabling cosine distance as a primary measure of semantic similarity.
Address tf-idf limitations for semantic search by introducing topic vectors for words and documents, handling synonyms and polysemy, and reducing dimensions for meaningful semantics.
-- UPDATED -- (NEW LESSONS ARE NOT IN THE PROMO VIDEO)
THIS COURSE IS FOR BEGINERS OR INTERMEDIATES, IT IS NOT FOR EXPERTS
This course is a part of a series of courses specialized in artificial intelligence :
Understand and Practice AI - (NLP)
This course is focusing on the NLP:
Learn key NLP concepts and intuition training to get you quickly up to speed with all things NLP.
I will give you the information in an optimal way, I will explain in the first video for example what is the concept, and why is it important, what is the problem that led to thinking about this concept and how can I use it (Understand the concept). In the next video, you will go to practice in a real-world project or in a simple problem using python (Practice).
The first thing you will see in the video is the input and the output of the practical section so you can understand everything and you can get a clear picture!
You will have all the resources at the end of this course, the full code, and some other useful links and articles.
In this course, we are going to learn about natural language processing. We will discuss various concepts such as tokenization, stemming, and lemmatization to process text. We will then discuss how to build a Bag of Words model and use it to classify text. We will see how to use machine learning to analyze the sentiment of a given sentence. We will then discuss topic modeling and implement a system to identify topics in a given document. We will start with simple problems in NLP such as Tokenization Text, Stemming, Lemmatization, Chunks, Bag of Words model. and we will build some real stuff such as :
Learning How to Represent the Meaning of Natural Language Text
Building a category predictor to predict the category of a given text document.
Constructing a gender identifier based on the name.
Building a sentiment analyzer used to determine whether a movie review is positive or negative.
Topic modeling using Latent Dirichlet Allocation
Feature Engineering
Dealing with corpora and WordNet
Dealing With your Vocabulary for any NLP and ML model
TIPS (for getting through the course):
Take handwritten notes. This will drastically increase your ability to retain the information.
Ask lots of questions on the discussion board. The more the better!
Realize that most exercises will take you days or weeks to complete.
Write code yourself, don’t just sit there and look at my code.
You don't know anything about NLP? let's break it down!
I am always available to answer your questions and help you along your data science journey. See you in class!
NOTICE that This course will be modified and I will add new content and new concepts from one time to another, so stay informed! :)