          RETURNS (List[int]): The models prediction for each document.
  
          DOCS: https://nightly.spacy.io/api/entitylinker#predict
          """
          self._require_kb()
          entity_count = 0
          final_kb_ids = []
          if not docs:
              return final_kb_ids
          if isinstance(docs, Doc):
 
</s> remove         self._require_kb()
 </s> add         self.validate_kb() </s> remove         self._require_kb()
 </s> add         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() </s> remove     def _require_kb(self) -> None:
 </s> add     def validate_kb(self) -> None: </s> remove     kb (KnowledgeBase): The knowledge-base to link entities to.
 </s> add 
        self.validate_kb()
          RETURNS (List[int]): The models prediction for each document.
  
          DOCS: https://nightly.spacy.io/api/entitylinker#predict
          """
        self.validate_kb()
          entity_count = 0
          final_kb_ids = []
          if not docs:
              return final_kb_ids
          if isinstance(docs, Doc):
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