diff --git a/pattern/text/__init__.py b/pattern/text/__init__.py index aa77af0b..2f0be904 100644 --- a/pattern/text/__init__.py +++ b/pattern/text/__init__.py @@ -2312,7 +2312,9 @@ def __new__(self, polarity, subjectivity, assessments=[]): def __init__(self, polarity, subjectivity, assessments=[]): self.assessments = assessments - + def __getnewargs__(self): + return self[0], self[1] + class Sentiment(lazydict): def __init__(self, path="", language=None, synset=None, confidence=None, **kwargs):