Skip to content

Enable override of existing custom pipe #13355

Discussion options

You must be logged in to vote

Hi!

You can use nlp.replace_pipe for this purpose: https://spacy.io/api/language#replace_pipe

nlp.replace_pipe("custom_component", "custom_component")

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by svlandeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage General spaCy usage feat / pipeline Feature: Processing pipeline and components
2 participants
Converted from issue

This discussion was converted from issue #13353 on February 27, 2024 12:48.