  
          DOCS: https://nightly.spacy.io/api/entitylinker#initialize
          """
          self._ensure_examples(get_examples)
          self._require_kb()
          nO = self.kb.entity_vector_length
          doc_sample = []
          vector_sample = []
          for example in islice(get_examples(), 10):
              doc_sample.append(example.x)
 
</s> remove         self._require_kb()
 </s> add         self.validate_kb() </s> remove         self._require_kb()
 </s> add         self.validate_kb()
        if kb_loader is not None:
            self.kb = kb_loader(self.vocab)
            self.cfg["entity_vector_length"] = self.kb.entity_vector_length
        self.validate_kb()
  
          DOCS: https://nightly.spacy.io/api/entitylinker#initialize
          """
          self._ensure_examples(get_examples)
        if kb_loader is not None:
            self.kb = kb_loader(self.vocab)
            self.cfg["entity_vector_length"] = self.kb.entity_vector_length
        self.validate_kb()
          nO = self.kb.entity_vector_length
          doc_sample = []
          vector_sample = []
          for example in islice(get_examples(), 10):
              doc_sample.append(example.x)
keep keep keep keep replace keep keep keep keep keep
 move kb_loader to initialize for NEL instead of constructor 
spacy/pipeline/entity_linker.py