Add sentrec shortcut to Language (#4890)

This commit is contained in:
adrianeboyd 2020-01-08 16:51:24 +01:00 committed by Ines Montani
parent 581eeed98b
commit e1b493ae85

View File

@ -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")