INNER CODE UNIT · Python

get_vague_words

wyounas/homer · homer/analyzer.py:97

    def get_vague_words(self):
        return (word for word in self.words if word.is_vague_word())

    def __len__(self):
        return len(self.words)

    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

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…