Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Mastering spaCy

You're reading from   Mastering spaCy Build structured NLP solutions with custom components and models powered by spacy-llm

Arrow left icon
Product type Paperback
Published in Feb 2025
Publisher Packt
ISBN-13 9781835880463
Length 238 pages
Edition 2nd Edition
Languages
Tools
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Déborah Mesquita Déborah Mesquita
Author Profile Icon Déborah Mesquita
Déborah Mesquita
Duygu Altınok Duygu Altınok
Author Profile Icon Duygu Altınok
Duygu Altınok
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Part 1: Getting Started with spaCy
2. Chapter 1: Getting Started with spaCy FREE CHAPTER 3. Chapter 2: Core Operations with spaCy 4. Part 2: Advanced Linguistic and Semantic Analysis
5. Chapter 3: Extracting Linguistic Features 6. Chapter 4: Mastering Rule-Based Matching 7. Chapter 5: Extracting Semantic Representations with spaCy Pipelines 8. Chapter 6: Utilizing spaCy with Transformers 9. Part 3: Customizing and Integrating NLP Workflows
10. Chapter 7: Enhancing NLP Tasks Using LLMs with spacy-llm 11. Chapter 8: Training an NER Component with Your Own Data 12. Chapter 9: Creating End-to-End spaCy Workflows with Weasel 13. Chapter 10: Training an Entity Linker Model with spaCy 14. Chapter 11: Integrating spaCy with Third-Party Libraries 15. Index 16. Other Books You May Enjoy

What this book covers

Chapter 1, Getting Started with spaCy, covers an overview of the library, how to install it, and also how to visualize your texts with displaCy.

Chapter 2, Core Operations with spaCy, covers the basics of spaCy’s processing pipelines. We will dive deep into Tokenizer, usually the first component of our text processing pipelines. We’ll also get to know the main spaCy containers, such as Doc, Token, and Span.

Chapter 3, Extracting Linguistic Features, covers (you guessed it) linguistic features. We’ll learn how to use spaCy’s part-of-speech tags and dependency parsing tags to analyze and extract information from text.

Chapter 4, Mastering Rule-Based Matching, explores how to use linguistic features to create extraction modules using spaCy’s matchers and the SpanRuler component.

Chapter 5, Extracting Semantic Representations with spaCy Pipelines, covers a use case of carrying out semantic parsing of utterances using everything you learned in Chapter 3 and Chapter 4 to create your first custom spaCy pipeline component to extract the intent of texts.

Chapter 6, Utilizing spaCy with Transformers, teaches you how to train a custom spaCy component using spacy-transformers. In this chapter, you’ll be introduced to spaCy config files and spaCy’s CLI, which are very useful for maintaining and reproducing NLP pipelines.

Chapter 7, Enhancing NLP Tasks Using LLMs with spacy-llm, covers how to use LLMs in your NLP pipelines with spacy-llm.

Chapter 8, Training an NER Component with Your Own Data, will focus on how to label your own data to train a NER component. We’ll see how to prepare the data and also learn about annotation tools, including Prodigy, the annotation tool from Explosion, the team behind spaCy.

Chapter 9, Creating End-to-End spaCy Workflows with Weasel, covers how to use Weasel, a tool to help us create reproducible and well-structured project workflows. We’ll also see how to use DVC Studio to manage models. DVC is another cool open source project for data/model versioning and experiment tracking.

Chapter 10, Training an Entity Linker Model with spaCy, covers the entity linking task in NLP and also the best practices to create high-quality datasets for NLP training. You’ll also learn how to use a custom corpus reader to train a spaCy component.

Chapter 11, Integrating spaCy with Third-Party Libraries, covers how to integrate spaCy projects with Streamlit to build beautiful web interfaces and FastAPI to build APIs for NLP models.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime