e998834136c5074583f528b7422c56ab57009c1f,nlp_architect/utils/text.py,SpacyTokenizer,__init__,#SpacyTokenizer#Any#,120

Before Change


            print("Spacy English model not found".format(model))
            print("to download an English model using Spacy, please run:")
            print("    python -m spacy download en_core_web_sm")
            print("")
            print("Spacy license:  MIT")
            print("Link to license: https://github.com/explosion/spaCy/blob/master/LICENSE")
            print("The terms and conditions of the data set license apply. Intel does not "
                  "grant any rights to the data files or database")

After Change


            url = "https://spacy.io/models/en//en_core_web_sm"
            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...")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: NervanaSystems/nlp-architect
Commit Name: e998834136c5074583f528b7422c56ab57009c1f
Time: 2018-05-09
Author: peter.izsak@intel.com
File Name: nlp_architect/utils/text.py
Class Name: SpacyTokenizer
Method Name: __init__


Project Name: deepmipt/DeepPavlov
Commit Name: 29ee3e34123191e7b444915b6be56edd8699aa36
Time: 2018-03-22
Author: yurakuratov@gmail.com
File Name: deeppavlov/core/commands/infer.py
Class Name:
Method Name: interact_model


Project Name: NervanaSystems/nlp-architect
Commit Name: 794bd558da80b65713b51a964ec61e7ef36d4bf2
Time: 2018-05-14
Author: peteriz@users.noreply.github.com
File Name: examples/intent_extraction/interactive.py
Class Name:
Method Name: