liveBook · Manning

spaCy

spaCy is an open-source Python library for natural language processing, providing tools and pretrained pipelines for tasks such as tokenization and linguistic analysis.

How 5 Manning books explain it

Natural Language Processing in Action, Second Edition

spaCy is an open-source software library for advanced natural-language processing, including tokenization and syntactic analysis.

How it is used
Deploys tokenization, grammatical analysis, dependency parsing, visualization, and entity extraction in practical NLP pipelines.
How deep it goes
Explains runnable model loading, token attributes, visualization, pipeline timing, and NER architecture without teaching neural-network construction.
Examples
Uses thinker quotations, an AsciiDoc chapter, medical-record workloads, dependency diagrams, and text about Timnit Gebru.
What you can do after
Apply it via spaCy to tokenize text, inspect grammatical structure, render dependencies, extract entities, and tune pipeline speed.

Read how Natural Language Processing in Action, Second Edition explains spaCy →

Starting Data Analytics with Generative AI and Python

spaCy is an open-source Python library for industrial-strength natural language processing.

How it is used
Supports customer-review keyword search by lemmatizing text before matching.
How deep it goes
Demonstrates a concrete preprocessing function but stops short of explaining spaCy internals or comparing model quality.
Examples
Uses Portuguese customer reviews, the pt_core_news_sm model, and cleaned_review_text as concrete artifacts.
What you can do after
Apply spaCy to lemmatize review text and prepare it for keyword matching.

Read how Starting Data Analytics with Generative AI and Python explains spaCy →

Generative AI in Action

spaCy is an open-source Python library for efficient natural-language processing, including linguistic annotation and text segmentation.

How it is used
Supports retrieval-augmented generation by producing context-aware chunks for downstream retrieval and generation.
How deep it goes
Implements model loading, sentence extraction, token counting, and overlap, without detailing linguistic-model internals.
Examples
Demonstrates sentence chunking with en_core_web_sm, configurable overlap, and a performance comparison against NLTK and simpler methods.
What you can do after
Apply spaCy via Python to create token-bounded, sentence-aware text chunks.

Read how Generative AI in Action explains spaCy →

Outlier Detection in Python

spaCy is an open-source Python library for efficient natural language processing and linguistic feature extraction.

How it is used
Extracts interpretable linguistic features for text analysis and obvious outlier detection.
How deep it goes
Explains document processing and feature counts, but stops short of detailed parsing internals or advanced language-model methods.
Examples
Uses the 20 Newsgroups messages to count words, unique words, non-stop words, sentences, and characters.
What you can do after
Build text-derived features with spaCy and use them as interpretable inputs for anomaly analysis.

Read how Outlier Detection in Python explains spaCy →

AI-Powered Search

spaCy is an open-source Python library for natural language processing that provides pretrained models and linguistic analysis pipelines.

How it is used
Supports relationship extraction, knowledge-graph construction, concept discovery, autocomplete, and semantic-search preparation.
How deep it goes
Explains pipeline outputs and implementation patterns, but stops short of detailing model architectures or training procedures.
Examples
Uses school-attendance and employment sentences, relationship triples, Matcher patterns, corpus frequencies, and batched document processing.
What you can do after
Builds Python pipelines that extract linguistic concepts, relationships, graph facts, and filtered vocabulary from text.

Read how AI-Powered Search explains spaCy →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.