d3ee4125592e31af6d7548ad80728de1e74750dd,ninja.py,,parse_conceptnet4,#,127

Before Change


            output = prefix+"edges/%s%s_flat_%s.msgpack"%(style, style, i)
            add_dep(lines, "parse", input, output, params={"filetype":"conceptnet4"})

    return lines


def parse_ptt_petgame(prefix):
    lines = []

After Change


def parse_conceptnet4(deps):
    for type in ["conceptnet4", "conceptnet4_nadya", "conceptnet_zh"]:
        for input in in_tar[type]:
            output = input.replace("jsons", "msgpack")\
                        .replace("txt", "msgpack")\
                        .replace("raw", "edges")
            parser = type if not type.endswith("zh") else "ptt_petgame"
            deps["parse %s"%type] = Dep(
                [input],
                [output],
                "parse",
                {"parser": parser})


def extract_wiktionary(deps):
    for lang in wiktionary_langs:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: commonsense/conceptnet5
Commit Name: d3ee4125592e31af6d7548ad80728de1e74750dd
Time: 2015-06-22
Author: jchin@luminoso.com
File Name: ninja.py
Class Name:
Method Name: parse_conceptnet4


Project Name: akkana/scripts
Commit Name: 037be121696158ecb3f2da13c8409b1ae311b0b4
Time: 2021-01-16
Author: akkana@shallowsky.com
File Name: musicplayer.py
Class Name: MusicWin
Method Name: update_content


Project Name: konlpy/konlpy
Commit Name: bf363350ec0e28a8b26b290a825392a39cc69300
Time: 2020-07-28
Author: daunjung@bang-ultomato.local
File Name: setup.py
Class Name:
Method Name: requirements


Project Name: dgasmith/opt_einsum
Commit Name: cea9099ef36997bc0922e3fdf8c4be88c9910d9a
Time: 2018-07-21
Author: john.gray.14@ucl.ac.uk
File Name: opt_einsum/contract.py
Class Name:
Method Name: format_const_einsum_str