Natural Language Processing with spaCy

Start Free Preview

Buying via our links supports this free directory · Affiliate disclosure.
Course facts
  • Payment: Free Preview (Paid Upgrade)
  • Learning style: Self-paced, start anytime
  • Format: Text & Interactive
  • Video access: Streaming Only
  • Before you start: Supervised Learning with scikit-learn; Python Toolbox
DataCamp details
  • Chapters: 4
Created byDataCamp
Available onDataCamp

Course Details
Learning Style

Start Anytime

Level

Intermediate

Study Mode

100% Online

Duration

Short (< 10 Hours)

Languages
Audio Language

English

Outcomes
Certificate

Certificate of Completion

Price & Terms
Pricing Model

Free Preview (Paid Upgrade)

Technical
Content Medium

Text & Interactive

Video Access

Streaming Only

Specification
Access

Subscription

SKU: natural-language-processing-spacy Category: Tags: , , Brand:

Learn to parse text, extract named entities, measure word similarity, write matching rules and train spaCy models in Python through interactive exercises.

At a glance
Duration4 hrs
LevelIntermediate
CertificateCertificate of Completion
LanguageEnglish
AccessSubscription
Add your review
Add to wishlistAdded to wishlistRemoved from wishlist 0
Add to compare

Unstructured text has to be parsed before information can be extracted from it: broken into tokens and sentences, with each word labeled. spaCy is a Python library designed for that work in production settings. You use it to parse documents, pick out named entities, compare meanings through word vectors, and write rules that pull exact terms and phrases out of raw text. When a model’s predictions miss on your own data, you also train it further.

What You Will Achieve

  • Break raw text into tokens, lemmas and sentences, and tag each word’s part of speech and named entities
  • Score how close in meaning two words, spans or documents are, and use those scores to categorize texts relevant to a topic
  • Write pattern rules that pull exact terms and phrases out of raw text and feed them into a pipeline as entity labels
  • Turn annotated examples into training data and retrain a model whose entity predictions fail on your own text


Program Overview

NLP and spaCy Basics

An opening look at natural language processing and its use cases, then the first steps of processing text with a spaCy pipeline.

  • The Doc container and pipeline basics
  • Tokenization, lemmatization and sentence segmentation
  • POS tagging and named entity recognition

Linguistic Annotations and Word Vectors

Linguistic features spaCy attaches to each token, and how word vectors support similarity checks and topic-based text categorization.

  • Word-sense disambiguation and dependency parsing
  • Word vectors in the spaCy vocabulary, analogies and projection
  • Semantic similarity for words, spans and docs

Pipelines, Rule-Based Matching and Model Training

Building and inspecting pipelines, extracting information with rules, and training models where they fail on real-world data, with evaluation at inference time.

  • Adding and analyzing pipeline components
  • EntityRuler, Matcher, PhraseMatcher and RegEx
  • Training data format and annotation
  • Training an existing NER model or one from scratch

Certificate Awarded (Paid)


Job Outlook

These skills are used wherever text must become structured data, such as pulling named entities out of documents, categorizing texts by topic and matching set phrases.


Our take

Good for: Python programmers who want to add entity extraction, similarity scoring and custom model training with spaCy to their own text projects.

Keep in mind: Although labeled intermediate, the course is also described as advanced, and it ends with training spaCy models on your own data, both from an existing model and from scratch.

Bottom line: A spaCy-centered course that pairs rule-based matching with model training, so learners practice both ways of pulling information out of text.

Frequently Asked Questions

How do the rule-based tools fit alongside trained models?

The third chapter shows how to add components to a spaCy pipeline, then uses EntityRuler, Matcher, PhraseMatcher and RegEx to extract terms by pattern. EntityRuler is also applied to named entity recognition, including with a blank spaCy model, so rules can label entities inside the same pipeline a model uses.

What happens when a pretrained spaCy model gets my data wrong?

The final chapter looks at real-world cases where spaCy models fail. It covers checking model performance on your own data, annotating examples in spaCy's training format, training an existing NER model further or a new model from scratch, and evaluating the result at inference time.

What can word vectors be used for in spaCy?

The second chapter extracts word vectors from a spaCy model vocabulary and works through analogies, vector operations and projections. It then finds similar words, measures similarity between docs and spans, and uses those similarity scores to categorize texts that relate to a given topic.

User Reviews

0.0 out of 5
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0

No reviews yet. Be the first to review this course.

There are no reviews yet.

Write your review

Reviews can only be posted by registered learners. Log in, then you will return here to post.

×

    Report this page
    Natural Language Processing with spaCy
    Natural Language Processing with spaCy
    LiveTalent
    Logo
    Compare items
    • Total (0)
    Compare
    0