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

Before Change



                for part_id, part in doc.parts.items():
                    for ann in chain(part.annotations, part.predicted_annotations):
                        if ann.class_id == MUT_CLASS_ID and ann.text not in denotations:
                            ann.subclass = True

After Change


        for key in tm_var:
            print(json.dumps(tm_var[key], indent=4))

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

Frequency: 5

Non-data size: 3

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: deepchem/deepchem
Commit Name: 91e5385511a4c0c734e78e5d130d0c8bf0dba10e
Time: 2016-01-17
Author: bharath.ramsundar@gmail.com
File Name: deepchem/scripts/modeler.py
Class Name:
Method Name: create_model


Project Name: idaholab/raven
Commit Name: 438b2a63d195c8f5ccecae35d577d8bfde354406
Time: 2020-08-22
Author: mohammad.abdo@inl.gov
File Name: framework/Optimizers/GeneticAlgorithm.py
Class Name: GeneticAlgorithm
Method Name: _useRealization


Project Name: Rostlab/nalaf
Commit Name: 2bfe43baf6d546b546184abc9d1a1d0a1238db0c
Time: 2015-05-23
Author: aleksandar.bojchevski@gmail.com
File Name: source/utils/readers.py
Class Name: HTMLReader
Method Name: read


Project Name: PyMVPA/PyMVPA
Commit Name: 7859ecea2734c65fa6eabb014b2936c5aebc5cb2
Time: 2007-11-07
Author: debian@onerussian.com
File Name: tests/test_dataset.py
Class Name: DatasetTests
Method Name: testZScoring