          """
          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(Errors.E132.format(alias=alias,
                                                  entities_length=len(entities),
 
</s>
        if alias is None or len(alias) == 0:
            raise ValueError(Errors.E890.format(alias=alias))

        previous_alias_nr = self.get_size_aliases()
          """
          For a given alias, add its potential entities and prior probabilies to the KB.
          Return the alias_hash at the end
          """
        if alias is None or len(alias) == 0:
            raise ValueError(Errors.E890.format(alias=alias))

        previous_alias_nr = self.get_size_aliases()
          # Throw an error if the length of entities and probabilities are not the same
          if not len(entities) == len(probabilities):
              raise ValueError(Errors.E132.format(alias=alias,
                                                  entities_length=len(entities),
keep keep keep add keep keep keep keep
 avoid empty aliases and improve UX and docs (#6840)
spacy/kb.pyx