예제 #1
0
파일: length.py 프로젝트: p01ice/Oopa
    def report(self):
        """
        Reports occurences of length
        """
        table = FrequencyTable("Length", sortby="Length")

        table.add_counts(self.word_count, self.length_counts)

        return table
예제 #2
0
파일: charset.py 프로젝트: p01ice/Oopa
    def report(self):
        table = FrequencyTable("Charset", end=len(self.charset_counts))

        table.add_counts(self.word_count, self.charset_counts)

        return table