8261994bf8f77251f0b22fb13fa490ffa0bd184b,deeppavlov/core/data/utils.py,,ungzip,#Any#Any#,74
Before Change
CHUNK = 16 * 1024
fname = str(file_path).split("/")[-1][:-3]
file_path = Path(file_path)
if extract_folder is None:
extract_folder = file_path.parent
extract_folder = Path(extract_folder)
After Change
CHUNK = 16 * 1024
file_path = Path(file_path)
extract_path = file_path.with_suffix("")
if extract_folder is not None:
extract_path = Path(extract_folder) / extract_path.name
with gzip.open(file_path, "rb") as fin, extract_path.open("wb") as fout:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: deepmipt/DeepPavlov
Commit Name: 8261994bf8f77251f0b22fb13fa490ffa0bd184b
Time: 2018-02-01
Author: yoptar@gmail.com
File Name: deeppavlov/core/data/utils.py
Class Name:
Method Name: ungzip
Project Name: deepmipt/DeepPavlov
Commit Name: ecb4dacbf793ee4276dd7ad4625bf2cb53feb9a1
Time: 2018-11-17
Author: yoptar@gmail.com
File Name: deeppavlov/paramsearch.py
Class Name:
Method Name: main
Project Name: deepmipt/DeepPavlov
Commit Name: c3a9468a86a0abdf78c9a8d55a0147b0a61fb16b
Time: 2018-02-05
Author: arkhipov@yahoo.com
File Name: deeppavlov/dataset_readers/basic_ner_dataset_reader.py
Class Name: NerDatasetReader
Method Name: read