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

Hi,

when I run

prodigy ner.manual data_model en_core_web_sm data.jsonl --label LABEL1,LABEL2 --patterns pattern.jsonl

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

Would you plz help us to identify how to approach the issue? (FYI this is not the show stopper as it runs the web server but just wanted to make sure to do things right)

Hi @popover , welcome to Prodigy!

Usually, this warning shows up when there's an issue with the pattern.jsonl file that you passed. Can you ensure that it's correct and follows the format here? More specifically, if your patterns are only string-based patterns, you'll see this warning saying that there are no patterns in the regular Matcher in spaCy. At this point, I'd say that this warning is safe to ignore.