mirror of https://github.com/explosion/spaCy.git
Merge pull request #5723 from gandersen101/fix-spaczz-universe-typo
This commit is contained in:
commit
3d83721551
|
@ -40,7 +40,7 @@
|
|||
"ruler.add_patterns([{'label': 'PERSON', 'pattern': 'Bill Gates', 'type': 'fuzzy'}])",
|
||||
"nlp.add_pipe(ruler)",
|
||||
"",
|
||||
"doc = nlp('Oops, I spelled Bill Gattes' name wrong.')",
|
||||
"doc = nlp('Oops, I spelled Bill Gatez wrong.')",
|
||||
"print([(ent.text, ent.start, ent.end, ent.label_) for ent in doc.ents])"
|
||||
],
|
||||
"code_language": "python",
|
||||
|
|
Loading…
Reference in New Issue