UserWarning: [W036] The component 'matcher' does not have any patterns defined. stream = (eg for _, eg in pattern_matcher(stream))

hi @dave-espinosa!

Yes, it should work!

For anyone else who wants to see examples, we have a "example-patterns" folder in our prodigy-recipes folder that has five template examples of patterns.

I also like this post by Vincent (see near the bottom) where he mentions that when passing only a string, you're actually using spaCy's PhraseMatcher instead of spaCy's Matcher. His point was noting that PhraseMatcher is much faster than Matcher. The nice thing is Prodigy is set up to use either.

1 Like