f558b935a7d4dca8328c1201a26b762029695e8f,demo.py,,,#,12

Before Change



        ReadFromAnnJsonAnnotator(ann_path).annotate(dataset)
        TmVarRegexNLDefiner().define(dataset)
        print("\n".join([ann.text for ann in dataset.annotations() if ann.is_nl]))  // print the NL ones

        SimpleLabeler().label(dataset)
        SimpleFeatureGenerator().generate(dataset)

After Change



        ReadFromAnnJsonAnnotator(ann_path).annotate(dataset)
        ExclusiveNLDefiner().define(dataset)
        print(json.dumps([ann.text for ann in dataset.annotations() if ann.is_nl if len(ann.text) < 36], indent=4, sort_keys=True))  // print the NL ones
        print(len([True for ann in dataset.annotations() if ann.is_nl]))
        // SimpleLabeler().label(dataset)
        // SimpleFeatureGenerator().generate(dataset)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: Rostlab/nalaf
Commit Name: f558b935a7d4dca8328c1201a26b762029695e8f
Time: 2015-06-17
Author: carsten.uhlig@gmail.com
File Name: demo.py
Class Name:
Method Name:


Project Name: sahana/eden
Commit Name: d0836dd9d191d5a0f0b944e8a71cedaeb2c05724
Time: 2020-07-15
Author: fran@aidiq.com
File Name: modules/s3/s3task.py
Class Name: S3Task
Method Name: run_async


Project Name: stanfordnlp/stanza
Commit Name: 8c909f23438c3c79fa58d82e8bd02ff7d1efc45e
Time: 2019-08-20
Author: zyh.thu@gmail.com
File Name: stanfordnlp/pipeline/doc.py
Class Name: Word
Method Name: __repr__