8e11169d5a1a637e0a2c5b1d72408a1d7c7a29a0,setup/prepare_data.py,,prepare,#,29

Before Change


                    vocab_thread2.start()

                    // And thread for saving tokenized data to putput file
                    write_thread = Thread(target=write_lines, args=(out_file, rows))
                    write_thread.start()

        // Last vocab parts and last lines to write
        vocab_thread1 = Thread(target=write_lines, args=(out_file, rows, True))

After Change


                    write_thread = Thread(target=write_lines, args=(out_file, rows))
                    write_thread.start()

                    rows = []

        // Last vocab parts and last lines to write
        vocab_thread1 = Thread(target=append_vocab, args=(rows, 1))
        vocab_thread1.start()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: daniel-kukiela/nmt-chatbot
Commit Name: 8e11169d5a1a637e0a2c5b1d72408a1d7c7a29a0
Time: 2017-12-02
Author: daniel@kukiela.pl
File Name: setup/prepare_data.py
Class Name:
Method Name: prepare


Project Name: openai/baselines
Commit Name: 2507d335f9874861f5deadc491e6e83892e9968b
Time: 2018-08-30
Author: joshim5@gmail.com
File Name: baselines/common/tf_util.py
Class Name:
Method Name: launch_tensorboard_in_background


Project Name: google/deepvariant
Commit Name: ef035e2c9553edfabeb3964c94b2859c4f665230
Time: 2020-12-03
Author: pichuan@google.com
File Name: deepvariant/openvino_estimator.py
Class Name: OpenVINOEstimator
Method Name: __init__