Add sentrec shortcut to Language
@@ -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")
