INNER CODE UNIT · Python

__lt__

wyounas/homer · homer/analyzer.py:103

    def __lt__(self, other):
        return len(self) < len(other)

    def __gt__(self, other):
        return len(self) > len(other)

    def __eq__(self, other):
        return len(self) == len(other)

    def __repr__(self):
        return 'Sentence(%r)' % self.sentence

    def __str__(self):
        return self.sentence


class Paragraph(object):
    """

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…