Skip to content
Discussion options

You must be logged in to vote

Right now the pretrained pipelines are the main reference. You can see the patterns using:

nlp.get_pipe("attribute_ruler").patterns

The patterns file is just this same data in msgpack format, which you can read directly with srsly.read_msgpack (or other msgpack libraries) if you'd prefer.

You can also always source an existing attribute ruler into a new pipeline and all the patterns will be copied with it.

We've considered having a separate repo where some of the pipeline-specific settings like this are stored, so it would be easy to refer to them in new configs, but this doesn't exist yet.

Replies: 2 comments

Comment options

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

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
models Issues related to the statistical models
2 participants