289729dc702d9b52b2df9e5a042b0ca3e0d502b0,nlp_architect/api/spacy_ner_api.py,SpacyNerApi,load_model,#SpacyNerApi#,29

Before Change


        
        Load spacy english model
        
        self.model = spacy.load("en")

    def inference(self, doc):
        
        Parse according to SpacyNer"s model

After Change


        
        Load spacy english model
        
        self.model = SpacyPipeline(disable=["parser", "vectors", "textcat"]).parser

    def inference(self, doc):
        
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: NervanaSystems/nlp-architect
Commit Name: 289729dc702d9b52b2df9e5a042b0ca3e0d502b0
Time: 2018-05-10
Author: amit.yaccobi@intel.com
File Name: nlp_architect/api/spacy_ner_api.py
Class Name: SpacyNerApi
Method Name: load_model


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


Project Name: PetrochukM/PyTorch-NLP
Commit Name: c6056185a1da35bfc44a36efbe78d6e7a2c45e55
Time: 2018-06-02
Author: petrochukm@gmail.com
File Name: torchnlp/text_encoders/spacy_encoder.py
Class Name: SpacyEncoder
Method Name: __init__