              "incl_prior": incl_prior,
              "incl_context": incl_context,
          }
          self.get_candidates = get_candidates
          self.cfg = dict(cfg)
          self.distance = CosineDistance(normalize=False)
          # how many neightbour sentences to take into account
 
</s> remove         self.kb = kb_loader(self.vocab)
 </s> add  </s> remove     def _require_kb(self) -> None:
 </s> add     def validate_kb(self) -> None:
            "entity_vector_length": entity_vector_length,
              "incl_prior": incl_prior,
              "incl_context": incl_context,
            "entity_vector_length": entity_vector_length,
          }
          self.get_candidates = get_candidates
          self.cfg = dict(cfg)
          self.distance = CosineDistance(normalize=False)
          # how many neightbour sentences to take into account
keep add keep keep keep keep keep
 move kb_loader to initialize for NEL instead of constructor 
spacy/pipeline/entity_linker.py