@cached_property<EOL><INDENT>def sentiment(self):<DEDENT>
<EOL>_RETURN_TYPE = namedtuple('<STR_LIT>', ['<STR_LIT>', '<STR_LIT>'])<EOL>_polarity = <NUM_LIT:0><EOL>_subjectivity = <NUM_LIT:0><EOL>for s in self.sentences:<EOL><INDENT>_polarity += s.polarity<EOL>_subjectivity += s.subjectivity<EOL><DEDENT>try:<EOL><INDENT>polarity = _polarity / len(self.sentences)<EOL><DEDENT>except ZeroDivisionError:<EOL><INDENT>polarity = <NUM_LIT:0.0><EOL><DEDENT>try:<EOL><INDENT>subjectivity = _subjectivity / len(self.sentences)<EOL><DEDENT>except ZeroDivisionError:<EOL><INDENT>subjectivity = <NUM_LIT:0.0><EOL><DEDENT>return _RETURN_TYPE(polarity, subjectivity)<EOL>
Return a tuple of form (polarity, subjectivity ) where polarity
        is a float within the range [-1.0, 1.0] and subjectivity is a float
        within the range [0.0, 1.0] where 0.0 is very objective and 1.0 is
        very subjective.

        :rtype: named tuple of the form ``Sentiment(polarity=0.0, subjectivity=0.0)``