mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-24 16:24:16 +03:00
Add sentrec shortcut to Language (#4890)
This commit is contained in:
parent
581eeed98b
commit
e1b493ae85
|
@ -225,6 +225,10 @@ class Language(object):
|
|||
def linker(self):
|
||||
return self.get_pipe("entity_linker")
|
||||
|
||||
@property
|
||||
def sentrec(self):
|
||||
return self.get_pipe("sentrec")
|
||||
|
||||
@property
|
||||
def matcher(self):
|
||||
return self.get_pipe("matcher")
|
||||
|
|
Loading…
Reference in New Issue
Block a user