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

Before Change


                spacy_download(model)
                self.parser = spacy.load(model, disable=pipeline_opts)
            else:
                print("Download declined. Response received {} != YES. ".format(response))
                print("Please download the model manually")
                sys.exit(0)

    def tokenize(self, text):

After Change


            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")
            sys.exit(0)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


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


Project Name: maxpumperla/elephas
Commit Name: 3244cbc512a6b617600a91ec60b65e3e01d2b1dc
Time: 2018-09-05
Author: max.pumperla@googlemail.com
File Name: elephas/java/__init__.py
Class Name:
Method Name:


Project Name: NervanaSystems/nlp-architect
Commit Name: 24d3656c6c4b3c6806954487720d53af775a1150
Time: 2018-06-07
Author: shira.guskin@intel.com
File Name: set_expansion_demo/ui/main.py
Class Name:
Method Name: get_expand_results_callback