da4fb19182efba7523c70c8051d9dee1038b09e7,pycorrector/corrector.py,,,#,17

Before Change


import config
import re

print("Loading models...")
jieba.initialize()

bimodel_path = ""

After Change


from pycorrector.util import dump_pkl
from pycorrector.util import load_pkl

pwd_path = os.path.abspath(os.path.dirname(__file__))
char_file_path = os.path.join(pwd_path, "data/cn/char_set.txt")


def load_word_dict(path):
    word_dict = ""
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: shibing624/pycorrector
Commit Name: da4fb19182efba7523c70c8051d9dee1038b09e7
Time: 2018-03-12
Author: 507153809@qq.com
File Name: pycorrector/corrector.py
Class Name:
Method Name:


Project Name: 13o-bbr-bbq/machine_learning_security
Commit Name: 03073dd14c70c9f0858f55d41a0d5b5a16c30933
Time: 2018-07-05
Author: takaesu235@gmail.com
File Name: DeepExploit/deep_plugin/classifier_signature/Classifier_signature.py
Class Name: ClassifierSignature
Method Name: __init__


Project Name: ricsinaruto/Seq2seqChatbots
Commit Name: 3b9042c743facfbd1e641784f21e29a95db2aac2
Time: 2018-09-20
Author: purgai.patrik@gmail.com
File Name: t2t_csaky/data_filtering/semantic_clustering.py
Class Name:
Method Name:


Project Name: shibing624/pycorrector
Commit Name: da4fb19182efba7523c70c8051d9dee1038b09e7
Time: 2018-03-12
Author: 507153809@qq.com
File Name: pycorrector/corrector.py
Class Name:
Method Name: