mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 20:28:20 +03:00
Fix quote issue in spaczz universe.json
This commit is contained in:
parent
f1653d281f
commit
9ce10207bf
|
@ -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
Block a user