70cab1d286a8717185e5b342f1923a80fc9a90a0,neuralcoref/train/conllparser.py,ConllCorpus,read_corpus,#ConllCorpus#Any#Any#,554

Before Change


            model = "en_core_web_sm"
        except IOError:
            print("No spacy 2 model detected, using spacy1 "en" model")
            spacy.info("en")
            model = "en"
        nlp = spacy.load(model)
        print("🌋 Parsing utterances and filling docs")
        doc_iter = (s for s in self.utts_text)

After Change


        model_options = ["en_core_web_lg", "en_core_web_md", "en_core_web_sm", "en"]
        model = None
        for model_option in model_options:
            if not model:
                try:
                    spacy.info(model_option)
                    model = model_option
                    print("Loaded model", model_option)
                except:
                    print("Could not detect model", model_option)
        if not model:
            print("Could not detect any suitable English model")
            return
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: huggingface/neuralcoref
Commit Name: 70cab1d286a8717185e5b342f1923a80fc9a90a0
Time: 2019-10-22
Author: svlandeg@users.noreply.github.com
File Name: neuralcoref/train/conllparser.py
Class Name: ConllCorpus
Method Name: read_corpus


Project Name: ScottfreeLLC/AlphaPy
Commit Name: b02e7083f057c5fbd6e43942b5f35f4baeee6e3c
Time: 2017-02-15
Author: Mark.R.Conway@gmail.com
File Name: system.py
Class Name:
Method Name: run_system


Project Name: apache/incubator-tvm
Commit Name: d16f282d8f22f8d0a171289ce68e1ffe3754350d
Time: 2021-02-19
Author: leandron85@gmail.com
File Name: python/tvm/driver/tvmc/common.py
Class Name:
Method Name: target_from_cli