              "https://spacy.io/api/cli#pretrain-jsonl")
      E138 = ("Invalid JSONL format for raw text '{text}'. Make sure the input "
              "includes either the `text` or `tokens` key. For more info, see "
              "the docs:\nhttps://spacy.io/api/cli#pretrain-jsonl")
      E139 = ("Knowledge base for component '{name}' not initialized. Did you "
              "forget to call set_kb()?")
      E140 = ("The list of entities, prior probabilities and entity vectors "
              "should be of equal length.")
      E141 = ("Entity vectors should be of length {required} instead of the "
              "provided {found}.")
 
</s> remove     E134 = ("Alias '{alias}' defined for unknown entity '{entity}'.")
 </s> add     E134 = ("Entity '{entity}' is not defined in the Knowledge Base.") </s> remove     W017 = ("Alias '{alias}' already exists in the Knowledge base.")
    W018 = ("Entity '{entity}' already exists in the Knowledge base.")
 </s> add     W017 = ("Alias '{alias}' already exists in the Knowledge Base.")
    W018 = ("Entity '{entity}' already exists in the Knowledge Base.") </s> remove     title_to_id = get_entity_to_id(entity_def_input)
    id_to_descr = get_id_to_description(entity_descr_path)
 </s> add     title_to_id = io.read_title_to_id(entity_def_path)
    id_to_descr = io.read_id_to_descr(entity_descr_path)
    E139 = ("Knowledge Base for component '{name}' not initialized. Did you "
              "https://spacy.io/api/cli#pretrain-jsonl")
      E138 = ("Invalid JSONL format for raw text '{text}'. Make sure the input "
              "includes either the `text` or `tokens` key. For more info, see "
              "the docs:\nhttps://spacy.io/api/cli#pretrain-jsonl")
    E139 = ("Knowledge Base for component '{name}' not initialized. Did you "
              "forget to call set_kb()?")
      E140 = ("The list of entities, prior probabilities and entity vectors "
              "should be of equal length.")
      E141 = ("Entity vectors should be of length {required} instead of the "
              "provided {found}.")
keep keep keep keep replace keep keep keep keep keep
 KB extensions and better parsing of WikiData (#4375)

* fix overflow error on windows

* more documentation & logging fixes

* md fix

* 3 different limit parameters to play with execution time

* bug fixes directory locations

* small fixes

* exclude dev test articles from prior probabilities stats

* small fixes

* filtering wikidata entities, removing numeric and meta items

* adding aliases from wikidata also to the KB

* fix adding WD aliases

* adding also new aliases to previously added entities

* fixing comma's

* small doc fixes

* adding subclassof filtering

* append alias functionality in KB

* prevent appending the same entity-alias pair

* fix for appending WD aliases

* remove date filter

* remove unnecessary import

* small corrections and reformatting

* remove WD aliases for now (too slow)

* removing numeric entities from training and evaluation

* small fixes

* shortcut during prediction if there is only one candidate

* add counts and fscore logging, remove FP NER from evaluation

* fix entity_linker.predict to take docs instead of single sentences

* remove enumeration sentences from the WP dataset

* entity_linker.update to process full doc instead of single sentence

* spelling corrections and dump locations in readme

* NLP IO fix

* reading KB is unnecessary at the end of the pipeline

* small logging fix

* remove empty files 
spacy/errors.py