          # TODO self._vectors_table.get_pointer(vectors),
          # self._features_table.get(features))
  
      def add_alias(self, unicode alias, entities, probabilities):
          """For a given alias, add its potential entities and prior probabilies to the KB."""
  
          # Throw an error if the length of entities and probabilities are not the same
          if not len(entities) == len(probabilities):
              raise ValueError("The vectors for entities and probabilities for alias '" + alias
                               + "' should have equal length, but found "
 
</s> remove     print("candidates for", alias1)
    candidates1 = mykb.get_candidates(alias1)
    for candidate in candidates1:
        print(" candidate")
        print("  name", candidate.get_entity_name(mykb))
        print("  alias", candidate.get_alias_name(mykb))
        print("  prior_prob", candidate.prior_prob)

    print("candidates for", alias2)
    candidates2 = mykb.get_candidates(alias2)
    for candidate in candidates2:
        print(" candidate")
        print("  name", candidate.get_entity_name(mykb))
        print("  alias", candidate.get_alias_name(mykb))
        print("  prior_prob", candidate.prior_prob)

    print("candidates for", alias3)
    candidates3 = mykb.get_candidates(alias3)
    for candidate in candidates3:
        print(" candidate")
        print("  name", candidate.get_entity_name(mykb))
        print("  alias", candidate.get_alias_name(mykb))
        print("  prior_prob", candidate.prior_prob)
 </s> add     for alias in [alias1, alias2, alias3]:
        print()
        print("candidates for", alias)
        candidates = mykb.get_candidates(alias)
        for candidate in candidates:
            print(" candidate")
            print("  kb_id", candidate.kb_id)
            print("  kb_id_", candidate.kb_id_)
            print("  alias", candidate.alias)
            print("  alias_", candidate.alias_)
            print("  prior_prob", candidate.prior_prob) </s> remove         return [Candidate(entity_hash=self._entries[entry_index].entity_hash,
 </s> add         return [Candidate(kb=self,
                          entity_hash=self._entries[entry_index].entity_hash,
        """
        For a given alias, add its potential entities and prior probabilies to the KB.
        Return the alias_hash at the end
        """
          # TODO self._vectors_table.get_pointer(vectors),
          # self._features_table.get(features))
  
      def add_alias(self, unicode alias, entities, probabilities):
        """
        For a given alias, add its potential entities and prior probabilies to the KB.
        Return the alias_hash at the end
        """
  
          # Throw an error if the length of entities and probabilities are not the same
          if not len(entities) == len(probabilities):
              raise ValueError("The vectors for entities and probabilities for alias '" + alias
                               + "' should have equal length, but found "
keep keep keep keep replace keep keep keep keep keep
 property getters and keep track of KB internally 
spacy/kb.pyx