dfa0c1f47a6920ebe0efde372f5aee07284f2f68,deeppavlov/core/data/utils.py,,is_done,#Any#,81

Before Change




def is_done(path):
    return os.path.isfile(os.path.join(path, _MARK_DONE))


def tokenize_reg(s):
    pattern = "[\w]+|[‑–—“”€№…’\"//$%&\"()+,-./:;<>?]"

After Change



def is_done(path):
    mark = Path(path) / _MARK_DONE
    return mark.is_file()


def tokenize_reg(s):
    pattern = "[\w]+|[‑–—“”€№…’\"//$%&\"()+,-./:;<>?]"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: deepmipt/DeepPavlov
Commit Name: dfa0c1f47a6920ebe0efde372f5aee07284f2f68
Time: 2017-12-29
Author: yoptar@gmail.com
File Name: deeppavlov/core/data/utils.py
Class Name:
Method Name: is_done


Project Name: chartbeat-labs/textacy
Commit Name: e9370c85bb3f95e7308a2ebd527899bef02dd5b0
Time: 2019-08-09
Author: burtdewilde@gmail.com
File Name: textacy/datasets/utils.py
Class Name:
Method Name: download_file


Project Name: PavlosMelissinos/enet-keras
Commit Name: 28e7817f3ec42a59054a772f80a5782812a02448
Time: 2019-12-17
Author: PavlosMelissinos@users.noreply.github.com
File Name: src/data/utils.py
Class Name:
Method Name: files_under