1cf23ceb671844e865b2b71b5df7e82ee66de01c,tests/test_preprocess.py,WordPreprocessorTest,test_transform_only_words,#WordPreprocessorTest#,51

Before Change



    def test_transform_only_words(self):
        X, y = load_data_and_labels(self.filename)
        preprocessor = WordPreprocessor(padding=False)
        p = preprocessor.fit(X, y)
        X = p.transform(X)
        words, chars = X
        char, word = chars[0][0][0], words[0][0]

After Change



    def test_transform_only_words(self):
        X, y = load_data_and_labels(self.filename)
        preprocessor = StaticPreprocessor()
        p = preprocessor.fit(X, y)
        X = p.transform(X)
        words, chars = X
        char, word = chars[0][0][0], words[0][0]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: Hironsan/anago
Commit Name: 1cf23ceb671844e865b2b71b5df7e82ee66de01c
Time: 2018-03-01
Author: light.tree.1.13@gmail.com
File Name: tests/test_preprocess.py
Class Name: WordPreprocessorTest
Method Name: test_transform_only_words


Project Name: Hironsan/anago
Commit Name: 1cf23ceb671844e865b2b71b5df7e82ee66de01c
Time: 2018-03-01
Author: light.tree.1.13@gmail.com
File Name: tests/test_preprocess.py
Class Name: WordPreprocessorTest
Method Name: test_preprocessor


Project Name: Hironsan/anago
Commit Name: 1cf23ceb671844e865b2b71b5df7e82ee66de01c
Time: 2018-03-01
Author: light.tree.1.13@gmail.com
File Name: tests/test_preprocess.py
Class Name: WordPreprocessorTest
Method Name: test_vocab_init


Project Name: Hironsan/anago
Commit Name: 1cf23ceb671844e865b2b71b5df7e82ee66de01c
Time: 2018-03-01
Author: light.tree.1.13@gmail.com
File Name: tests/test_preprocess.py
Class Name: WordPreprocessorTest
Method Name: test_unknown_word