00b87e40751f1a48bc11ee0ac871da920d60c402,pycorrector/__init__.py,,load_same_stroke,#Any#Any#,63

Before Change


            parts = line.strip().split(sep)
            if parts and len(parts) > 1:
                key_char = parts[0]
                result[key_char] = set(list(parts[1]))
    return result


cn_char_set = load_word_dict(char_file_path)

After Change


            line = traditional2simplified(line.strip())
            parts = line.strip().split(sep)
            if parts and len(parts) > 1:
                for i, c in enumerate(parts):
                    result[c] = set(list(parts[:i] + parts[i + 1:]))
    return result


cn_char_set = load_word_dict(char_file_path)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: shibing624/pycorrector
Commit Name: 00b87e40751f1a48bc11ee0ac871da920d60c402
Time: 2018-03-15
Author: 507153809@qq.com
File Name: pycorrector/__init__.py
Class Name:
Method Name: load_same_stroke


Project Name: caserec/CaseRecommender
Commit Name: c3a6f53a6523a086752c07047c888a1019ba5773
Time: 2016-06-03
Author: fortes.arthur@gmail.com
File Name: recommenders/rating_prediction/base_rating_prediction.py
Class Name: BaseRatingPrediction
Method Name: __init__


Project Name: open-mmlab/mmdetection
Commit Name: bfbd2223521126cefe0a25382f09a684c34e4a01
Time: 2018-10-20
Author: chenkaidev@gmail.com
File Name: mmdet/datasets/coco.py
Class Name: CocoDataset
Method Name: _filter_imgs


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 2f134a73ac9cdab98206afeab6cd39bb02b6a6fc
Time: 2017-06-06
Author: carlo.deramo@gmail.com
File Name: PyPi/approximators/tabular.py
Class Name: Tabular
Method Name: fit