bcd3e89f4bac5f7a6a8068a487e8ef5a5bb230e1,pymorphy2/opencorpora_dict/parse.py,,parse_opencorpora_xml,#Any#,31

Before Change


            links.append(link_tuple)
            _clear(elem)

    return lexemes, links, grammemes, version, revision


def xml_dict_to_json(xml_filename, json_filename):
    

After Change



        if elem.tag == "lemma":
            if not lexemes:
                logger.info("parsing xml:lemmas...")

            lex_id, word_forms = _word_forms_from_xml_elem(elem)
            lexemes[lex_id] = word_forms
            _clear(elem)

        elif elem.tag == "link":
            if not links:
                logger.info("parsing xml:links...")

            link_tuple = (
                elem.get("from"),
                elem.get("to"),
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 8

Non-data size: 4

Instances


Project Name: kmike/pymorphy2
Commit Name: bcd3e89f4bac5f7a6a8068a487e8ef5a5bb230e1
Time: 2013-02-12
Author: kmike84@gmail.com
File Name: pymorphy2/opencorpora_dict/parse.py
Class Name:
Method Name: parse_opencorpora_xml


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: ab3b2ab4c5b64b862fb3cbfc3655b69fdc7ff9b9
Time: 2020-01-31
Author: kz.takemoto@gmail.com
File Name: art/attacks/evasion/simba_pixel.py
Class Name: SimBA_pixel
Method Name: generate


Project Name: etal/cnvkit
Commit Name: aef8b785f1ee6882b768f80261019943bea64d7c
Time: 2016-05-19
Author: michael.p.schroeder@gmail.com
File Name: cnvlib/commands.py
Class Name:
Method Name: do_gainloss


Project Name: dask/dask-ml
Commit Name: c711966b17963b232548ec7870e0658d796344be
Time: 2018-06-26
Author: TomAugspurger@users.noreply.github.com
File Name: dask_ml/cluster/spectral.py
Class Name: SpectralClustering
Method Name: _check_array


Project Name: kmike/pymorphy2
Commit Name: bcd3e89f4bac5f7a6a8068a487e8ef5a5bb230e1
Time: 2013-02-12
Author: kmike84@gmail.com
File Name: pymorphy2/opencorpora_dict/parse.py
Class Name:
Method Name: parse_opencorpora_xml


Project Name: tensorflow/models
Commit Name: 3008753be172bc0bae88aa14b00ce860233c3416
Time: 2020-09-26
Author: chendouble@google.com
File Name: official/nlp/tasks/utils.py
Class Name:
Method Name: get_encoder_from_hub


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 185d35f6a8c479d376cd62bb3014f4df8c5544a6
Time: 2018-09-26
Author: Maria-Irina.Nicolae@ibm.com
File Name: art/attacks/fast_gradient.py
Class Name: FastGradientMethod
Method Name: generate


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 0da58f6ba61f1e22a91ebd30a064375bdf924f79
Time: 2020-06-01
Author: spencerkim@google.com
File Name: perfkitbenchmarker/linux_packages/build_tools.py
Class Name:
Method Name: Reinstall


Project Name: dask/dask-ml
Commit Name: 0b46112c1708be6e8d43cecf456f6e8fab53ced8
Time: 2018-07-02
Author: tom.w.augspurger@gmail.com
File Name: dask_ml/wrappers.py
Class Name: Incremental
Method Name: fit