Skip to content

Commit

Permalink
Merge pull request #5125 from renaud/patch-1
Browse files Browse the repository at this point in the history
small typo in code sample
  • Loading branch information
ines authored Mar 12, 2020
2 parents 4130fef + eccf6b1 commit c669435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/usage/rule-based-matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,7 @@ entityruler = EntityRuler(nlp)
patterns = [{"label": "TEST", "pattern": str(i)} for i in range(100000)]
other_pipes = [p for p in nlp.pipe_names if p != "tagger"]
with nlp.disable_pipes(*disable_pipes):
with nlp.disable_pipes(*other_pipes):
entityruler.add_patterns(patterns)
```
Expand Down

0 comments on commit c669435

Please sign in to comment.