Customizing the Pipeline
Add, disable, and reorder components.
A Stack of Steps
A spaCy pipeline is just an ordered list of components. Text flows through each one, gaining tags, parses, and entities along the way.
See What Is Loaded
Check the active steps with nlp.pipe_names. It lists every component in order, so you always know what is running.
print(nlp.pipe_names)All lessons in this course
- Why spaCy for Real Projects
- Loading a Model and Processing a Doc
- Tokens, Spans, and Doc Objects
- Customizing the Pipeline