  
      def get_size_entities(self):
          return self._entries.size() - 1  # not counting dummy element on index 0
  
      def get_size_aliases(self):
          return self._aliases_table.size() - 1 # not counting dummy element on index
  
      def get_alias_strings(self):
          return [self.vocab.strings[x] for x in self._alias_index][1:] # removing the dummy element on index 0
  
 
</s> remove         return self._aliases_table.size() - 1 # not counting dummy element on index 0
 </s> add         return self._aliases_table.size() - 1 # not counting dummy element on index

    def get_alias_strings(self):
        return [self.vocab.strings[x] for x in self._alias_index][1:] # removing the dummy element on index 0 </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     # only print aliases with more than one potential entity
    # TODO remove hardcoded path
    with open('C:/Users/Sofie/Documents/data/wikipedia/prior_prob.csv', mode='w', encoding='utf8') as outputfile:
 </s> add     # write all aliases and their entities and occurrences to file
    with open(PRIOR_PROB, mode='w', encoding='utf8') as outputfile: </s> remove     # _read_wikidata()
    _read_wikipedia()
 </s> add  </s> remove     # TODO remove hardcoded path
 </s> add 
    def get_entity_strings(self):
        return [self.vocab.strings[x] for x in self._entry_index][1:] # removing the dummy element on index 0

  
      def get_size_entities(self):
          return self._entries.size() - 1  # not counting dummy element on index 0
  
    def get_entity_strings(self):
        return [self.vocab.strings[x] for x in self._entry_index][1:] # removing the dummy element on index 0

      def get_size_aliases(self):
          return self._aliases_table.size() - 1 # not counting dummy element on index
  
      def get_alias_strings(self):
          return [self.vocab.strings[x] for x in self._alias_index][1:] # removing the dummy element on index 0
  
keep keep keep add keep keep keep keep keep keep
 poc with few entities and collecting aliases from the WP links 
spacy/kb.pyx