Fix setter

This commit is contained in:
Matthew Honnibal 2019-03-08 19:10:01 +01:00
parent b27bd42613
commit afa227e25b
1 changed files with 2 additions and 2 deletions

View File

@ -361,9 +361,9 @@ class Tagger(Pipe):
def set_morphology(self):
return self.cfg.get("set_morphology", True)
@property.setter
@set_morphology.setter
def set_morphology(self, value):
self.cfg["set_morphology"] = True
self.cfg["set_morphology"] = value
@property
def labels(self):