fe41a42ff872debbc18f465f003a314f5ad19d29,nala/utils/tagger.py,TmVarTagger,generate_abstracts,#TmVarTagger#Any#,42

Before Change


            if doc_id in tm_var:
                denotations = tm_var[doc_id]["denotations"]
                text = tm_var[doc_id]["text"]
                denotations = [text[d["span"]["begin"]:d["span"]["end"]] for d in denotations]

                for part_id, part in doc.parts.items():
                    for ann in chain(part.annotations, part.predicted_annotations):

After Change



        dataset = Dataset()
        for doc_id in tm_var:
            doc = Document()
            text = tm_var[doc_id]["text"]
            part = Part(text)
            denotations = tm_var[doc_id]["denotations"]
            annotations = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: Rostlab/nalaf
Commit Name: fe41a42ff872debbc18f465f003a314f5ad19d29
Time: 2015-09-20
Author: carsten.uhlig@gmail.com
File Name: nala/utils/tagger.py
Class Name: TmVarTagger
Method Name: generate_abstracts


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 6a75ec12d58d45bc939cc249630fa476c8c95231
Time: 2016-09-08
Author: cuducos@gmail.com
File Name: jarbas/core/management/commands/loaddatasets.py
Class Name: Command
Method Name: handle


Project Name: bokeh/bokeh
Commit Name: 3eaa05a6fcef60abc7680d8b4465da0032750a35
Time: 2018-06-07
Author: mattpap@gmail.com
File Name: bokeh/embed/tests/test_standalone.py
Class Name: Test_components
Method Name: test_plot_dict_returned_when_wrap_plot_info_is_false