d1882d7e34b009f2de2b90e82c9250d307a9eb9d,onmt/inputters/audio_dataset.py,AudioDataset,make_examples,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,72

Before Change


        for i, line in enumerate(tqdm(data)):
            audio_path = os.path.join(src_dir, line.strip())
            if not os.path.exists(audio_path):
                audio_path = line.strip()

            assert os.path.exists(audio_path), \
                "audio path %s not found" % (line.strip())

After Change


            data = cls._read_file(data)

        for i, line in enumerate(tqdm(data)):
            line = line.decode("utf-8").strip()
            audio_path = os.path.join(src_dir, line)
            if not os.path.exists(audio_path):
                audio_path = line
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: OpenNMT/OpenNMT-py
Commit Name: d1882d7e34b009f2de2b90e82c9250d307a9eb9d
Time: 2019-01-30
Author: guillaumekln@users.noreply.github.com
File Name: onmt/inputters/audio_dataset.py
Class Name: AudioDataset
Method Name: make_examples


Project Name: streamlit/streamlit
Commit Name: 4156d3448d652a825ead6cc9fb12c6cc9daf2193
Time: 2018-10-10
Author: thiagot@gmail.com
File Name: lib/streamlit/proxy/Proxy.py
Class Name:
Method Name: get_external_ip


Project Name: streamlit/streamlit
Commit Name: da2f70f098236131c7c3e6145417110c08a07947
Time: 2018-10-12
Author: thiagot@gmail.com
File Name: lib/streamlit/proxy/Proxy.py
Class Name:
Method Name: get_external_ip