
This is a welcoming message to the course. Students are given an insights of the course and how it will prepare them for landing into the appropriate jobs and embark on the right project with the right skills.
This lecture will give students an insights of the subject matter that is Text Analytics and Natural Language Processing. At the end , students will have to think about a project or a specific applications of Text Analytics and/or NLP they will wish to embark into. They will have an idea of where this course will lead them to in the field of Text analytics and NLP.
Explore the RStudio environment, including the console, global environment, plots, packages, and help windows, and learn core commands to manage objects, install packages, and inspect data frames.
Engage with the RStudio environment to load and inspect data frames, view column details, summarize numeric variables, plot trends, and manage projects, imports, and packages.
Discover how R objects carry attributes such as names, dimensions, and class, and compare data frames with the table data type. Learn to install, convert, view datasets, and write functions.
Learn how to import text data and other data into RStudio, set and inspect the working directory, and load files with read.table, read.csv, readLines, jason data, and Excel formats.
Master basic text manipulation in R using paste for concatenation with separators or collapse, extract substrings, replace segments, and split strings, with packages like stringr and stringi.
Explore how to use regular expressions in R to detect, extract, and replace matching strings, using grep, escape sequences, and basic regex concepts.
use the pipe operator in r to chain commands for selecting columns and filtering by continent, then mutate and summarize gdp per capita and life expectancy.
Explore how the readtext package in R reads formats like txt, json, csv/tsv, pdf, and doc/docx, auto-detects formats, builds a corpus, and cleans page numbers using stringi and regex.
Master basic text pre-processing in R, including string manipulation, abbreviation, word and sentence tokenization, word length, stemming with snowball, and frequency analysis to prepare text data for analytics.
Explore tokenization in text analytics using R, creating tokens from words, phrases, or sentences, and generate n-grams such as bi-grams and skip-grams while handling punctuation and stop words from tweets.
Discover stemming, the process of reducing inflected words to their root forms to improve text analytics accuracy. The lecture demonstrates applying R-based stemming with different algorithms and dictionaries.
Learn how lemmatization links inflected forms to lemmas using dictionaries and morphological analysis, and compare its performance to stemming in text analytics with R.
Explore stop words in text data and learn how to remove them to improve text analytics in R, using English and multilingual lexicons such as snowball and smart.
Learn how to check scraping permission via robots.txt and path allowed, analyze site rules with examples, and use httr to make requests, all while practicing ethical and responsible scraping.
Learn to web scrape pages using selector gadget and R, extract reviews from sites like TripAdvisor and Indeed, and clean text for basic analysis.
Learn to scrape Indeed to extract job titles, company names, locations, and descriptions for the City of Toronto, loop through pages, build a data frame, and save and clean results.
Learn to scrape song lyrics from a website with r: load libraries, parse pages, extract titles and links, fetch lyrics, and compile a data frame with title, link, and lyrics.
Discover corpus analytics in r by working with a corpus, performing tokenization, frequency analysis, and n-grams, and exploring sentiment analysis or word clouds with quanteda, text2vec, tidytext, and tm.
Create a word cloud from English tweets through corpus analytics in R, cleaning and stemming text, filtering stop words, and visualizing top terms with color and frequency controls.
Analyze a Gutenberg Project novel with R using the corpus package, load and tokenize text, extract chapters, clean punctuation, and compute chapter-level token, type, and sentence statistics.
Analyze lexical diversity and word usage with a linear model in corpus analytics part 2, applying stop words exclusion, by-grams, and text locate in R on the Wizard of Oz.
Load 170 documents into a corpus, perform pre-processing (punctuation and digit removal, lowercasing, stop-word removal, stemming), tokenize, then analyze term frequencies and tf-idf with visualizations.
Explore corpus analytics of multiple documents in R, computing IDF metrics, extracting key terms, performing sentiment analysis with tidytext lexicons, and visualizing by-grams and word networks.
Learn to use the quanteda package to work with corpora. Explore creating, summarizing, subsetting, and querying corpora with kwic and regular expressions.
Master quanteda part 2: search keywords with wildcards and multiword phrases; build document feature matrices with DSM, apply stop word removal and stemming, and explore word clouds and clustering.
Analyze song lyrics with sentiment analysis in natural language processing, loading datasets, cleaning tokens, and applying Bing and NRC lexicons to classify words by sentiment and emotion.
Compare the being lexicon, the NRC lexicon, and the African lexicon to analyze positive, negative, and neutral words in lyrics, showing more negative than positive terms.
Load and prepare the fake news dataset, extract the title, compare bias between Trump and Clinton groups across fake, conspiracy, and B.S. categories, analyze punctuation, and introduce sentiment analysis.
Explore document similarity with cosine similarity, the technique behind search engines like Google, applied to a tweets dataset to rank top 15 results using a document-term matrix and query vector.
Explore part of speech tagging in R using lexical, rule-based, probabilistic, and deep learning methods (hidden Markov models) to tag tokens in a corpus.
Explore the spacyr wrapper for spaCy in R, enabling non-destructive tokenization, part-of-speech tagging, named-entity recognition, and noun-phrase extraction with multilingual models.
Explore rapid keyword extraction with the UDPipe package using rake, PMI, and text rank to identify keywords, phrases, and word networks, then visualize core occurrences and correlations.
Explore trends in natural language processing, from ubiquitous chat boards and sentiment analysis to advanced text analytics and deep learning approaches in NLP.
This course is for all who wants to explore and pursue a career in Text Analytics and Natural Language Processing with R. The course will drive you through all the techniques you need to process structured and unstructured text data and corpora. It will also teach you how to deal with multi-lingual text.