b1b61d3f90cf795c7b48b6d109db7b7b96fa21ff,src/gluonnlp/data/corpora/large_text_compression_benchmark.py,Text8,__init__,#Text8#Any#Any#Any#,102

Before Change


                 segment="train",
                 max_sentence_length=10000):
        root = os.path.expanduser(root)
        if not os.path.isdir(root):
            os.makedirs(root)
        self._max_sentence_length = max_sentence_length
        super(Text8, self).__init__(root=root, segment=segment)

        // pylint: disable=access-member-before-definition

After Change


                 segment="train",
                 max_sentence_length=10000):
        self._max_sentence_length = max_sentence_length
        super().__init__(root=root, segment=segment)

        // pylint: disable=access-member-before-definition
        if max_sentence_length:
            data = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: dmlc/gluon-nlp
Commit Name: b1b61d3f90cf795c7b48b6d109db7b7b96fa21ff
Time: 2019-08-04
Author: lausen@amazon.com
File Name: src/gluonnlp/data/corpora/large_text_compression_benchmark.py
Class Name: Text8
Method Name: __init__


Project Name: dmlc/gluon-nlp
Commit Name: b1b61d3f90cf795c7b48b6d109db7b7b96fa21ff
Time: 2019-08-04
Author: lausen@amazon.com
File Name: src/gluonnlp/data/corpora/large_text_compression_benchmark.py
Class Name: Fil9
Method Name: __init__


Project Name: matplotlib/matplotlib
Commit Name: 641eb385b41a363b6271e39cfbb926df65b63d94
Time: 2018-05-16
Author: elch.rz@ruetz-online.de
File Name: doc/conf.py
Class Name:
Method Name: