Skip to content
Discussion options

You must be logged in to vote

You can't exactly pass a dict as input, but in 3.2 we added a feature for exactly this kind of use case such that you can use a Doc as input to a pipeline (pipeline = nlp object). So what you can do is have a minimal pipeline that does maybe just tokenization, then add your data to the Doc as underscore attributes, and then pass that to another pipeline with your custom components.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by adrianeboyd
Comment options

You must be logged in to vote
7 replies
@lingvisa
Comment options

@polm
Comment options

@lingvisa
Comment options

@polm
Comment options

@lingvisa
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / pipeline Feature: Processing pipeline and components
2 participants