Text Analytics and Natural Language Processing (NLP) with R


Course Number: RPROG-114
Duration: 3 days (19.5 hours)
Format: Live, hands-on

NLP Training Overview

Accelebrate's Natural Language Processing (NLP) with R training course teaches attendees how to use R programming to explore and analyze text data.  This class comprehensively covers methods for ingesting text data from a variety of sources such as plain text files, pdfs, or the web, and then processing that data using the latest natural language processing and deep learning techniques.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

In addition, some courses are available as live, instructor-led training from one of our partners.

Objectives

Students will be able to

  • Import text data from a variety of source formats
  • Tokenize text data to meaningful units
  • Wrangle text data using specific textual functions
  • Compute aggregating measures on tokenized data
  • Translate between text data formats
  • Complete a sentiment analysis
  • Perform document classification
  • Perform topic modeling
  • Build a simple neural network appropriate for NLP modeling

Prerequisites

Students must have completed Accelebrate's Intro to R Programming training or have the equivalent experience. Students should have a working knowledge of the R language, RStudio, and the dplyr/tidyverse packages.

Outline

Expand All | Collapse All

Working with unstructured text data
  • string methods
  • regex
  • reading in text files
  • review of base (R/Python)
Importing
  • parsing data from a text file
  • importing it into a tidy structure
  • parsing data from a pdf
    • From a “pile of pdfs”
  • scraping data from the web
  • Discussion of other methods
    • OCR
    • Handwriting recognition
Managing Text Data 1
  • a tidy text format
  • Overview of text data formats
    • tidy text
    • token list
    • Bag of words
    • document term matrix or document frequency matrix (dfm/dt)
    • corpus
    • docvars
  • associated formats
    • stop words
    • Sentiment lexica
    • word vectors / models
Managing Text Data 2
  • tokenizing text
  • units of tokenization
    • tokens
    • lemma
    • stems
    • n-grams
    • sentences
    • Tweets
  • Tf-idf
  • Log-odds (tidylo)
Sentiment Analysis
  • Sentiment lexica
  • Sentiment analysis with inner_join
  • Analyzing by other units
  • Valence shifting
  • VADER
Document Classification
  • Text similarity - stringiest
    • Cosine
    • Edit distance
  • Machine Learning for document classification
    • Naive Bayes model
Topic Modeling / Document Clustering
  • LDA
  • stm
Text and Deep Learning
  • Deep learning introduction
  • Architecture of neural networks
  • Tensorflow + keras
  • Word vectors
    • word2vec
    • Text2vec
    • GloVe
    • Spacy
  • Combining Deep Learning and NLP
    • CNN
    • RNN
    • LSTM
  • Named Entity Recognition (NER)
  • Part of Speech tagging (POS)
  • Dependency Parsing
Conclusion

Training Materials

All R Programming training students receive a copy of O’Reilly's Text Mining with R and related courseware.

Software Requirements

  • A recent release of R 4.x
  • IDE or text editor of your choice (RStudio recommended)


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan