82d819ee591297fc5943a77315ddfd22f2d320a5,nlp_architect/utils/text.py,SpacyInstance,__init__,#SpacyInstance#Any#Any#,122

Before Change


            print("License: Creative Commons v3-BY-SA "
                  "https://creativecommons.org/licenses/by-sa/3.0/")
            response = input("To download the model from {}, please type YES: ".format(url))
            if response.lower().strip() == "yes":
                print("The terms and conditions of the data set license apply. Intel does not "
                      "grant any rights to the data files or database")
                print("Downloading Spacy model...")

After Change


    

    def __init__(self, model="en", disable=None):
        if disable is None:
            disable = []
        try:
            self._parser = spacy.load(model, disable=disable)
        except OSError:
            url = "https://spacy.io/models"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: NervanaSystems/nlp-architect
Commit Name: 82d819ee591297fc5943a77315ddfd22f2d320a5
Time: 2018-05-10
Author: peter.izsak@intel.com
File Name: nlp_architect/utils/text.py
Class Name: SpacyInstance
Method Name: __init__


Project Name: OpenMined/PySyft
Commit Name: 88c2606b36244923c214ee40be069f896bf6342a
Time: 2020-09-11
Author: theo.leffyr@gmail.com
File Name: syft/frameworks/torch/tensors/interpreters/precision.py
Class Name: FixedPrecisionTensor
Method Name: reciprocal


Project Name: deepmipt/DeepPavlov
Commit Name: cb0c025ab87216d35b68a2b4b36d61621acd76ba
Time: 2018-01-31
Author: arkhipov@yahoo.com
File Name: deeppavlov/models/ner/slotfill.py
Class Name: DstcSlotFillingNetwork
Method Name: infer