      kb = KnowledgeBase(vocab=vocab)
      # _read_wikidata()
      _read_wikipedia()
  
      # adding entities
      # kb.add_entity(entity=entity, prob=prob)
  
      # adding aliases
      # kb.add_alias(alias=alias, entities=[entity_0, entity_1, entity_2], probabilities=[0.6, 0.1, 0.2])
  
      print()
 
</s> remove     # adding aliases
    # kb.add_alias(alias=alias, entities=[entity_0, entity_1, entity_2], probabilities=[0.6, 0.1, 0.2])
 </s> add     # _read_wikidata()
    # _read_wikipedia() </s> remove     # _read_wikidata()
    _read_wikipedia()
 </s> add  </s> remove def create_kb(vocab):
 </s> add def create_kb(vocab, max_entities_per_alias, min_occ): </s> remove     # nlp = spacy.load('en_core_web_sm')
    # my_kb = create_kb(nlp.vocab)
 </s> add     # STEP 2 : create KB
    nlp = spacy.load('en_core_web_sm')
    my_kb = create_kb(nlp.vocab, max_entities_per_alias=10, min_occ=5) </s> remove     _read_wikipedia_prior_probs()
 </s> add     # STEP 1 : create prior probabilities from WP
    # run only once !
    # _read_wikipedia_prior_probs()
    _add_entities(kb)
    _add_aliases(kb, max_entities_per_alias, min_occ)
      kb = KnowledgeBase(vocab=vocab)
      # _read_wikidata()
      _read_wikipedia()
  
    _add_entities(kb)
    _add_aliases(kb, max_entities_per_alias, min_occ)
    _add_entities(kb)
    _add_aliases(kb, max_entities_per_alias, min_occ)
  
      # adding aliases
      # kb.add_alias(alias=alias, entities=[entity_0, entity_1, entity_2], probabilities=[0.6, 0.1, 0.2])
  
      print()
keep keep keep keep replace replace keep keep keep keep keep
 poc with few entities and collecting aliases from the WP links 
examples/pipeline/wikidata_entity_linking.py