      W016 = ("The keyword argument `n_threads` on the is now deprecated, as "
              "the v2.x models cannot release the global interpreter lock. "
              "Future versions may introduce a `n_process` argument for "
              "parallel inference via multiprocessing.")
      W017 = ("Alias '{alias}' already exists in the Knowledge base.")
      W018 = ("Entity '{entity}' already exists in the Knowledge base.")
      W019 = ("Changing vectors name from {old} to {new}, to avoid clash with "
              "previously loaded vectors. See Issue #3853.")
      W020 = ("Unnamed vectors. This won't allow multiple vectors models to be "
              "loaded. (Shape: {shape})")
      W021 = ("Unexpected hash collision in PhraseMatcher. Matches may be "
 
</s> remove     E134 = ("Alias '{alias}' defined for unknown entity '{entity}'.")
 </s> add     E134 = ("Entity '{entity}' is not defined in the Knowledge Base.") </s> remove     E139 = ("Knowledge base for component '{name}' not initialized. Did you "
 </s> add     E139 = ("Knowledge Base for component '{name}' not initialized. Did you " </s> remove     if to_print:
        for entity, count in entity_to_count.items():
            print("Entity count:", entity, count)
        print("Total count:", total_count)
 </s> add     # remove multiple spaces
    while "  " in clean_text:
        clean_text = clean_text.replace("  ", " ")
    W017 = ("Alias '{alias}' already exists in the Knowledge Base.")
    W018 = ("Entity '{entity}' already exists in the Knowledge Base.")
      W016 = ("The keyword argument `n_threads` on the is now deprecated, as "
              "the v2.x models cannot release the global interpreter lock. "
              "Future versions may introduce a `n_process` argument for "
              "parallel inference via multiprocessing.")
    W017 = ("Alias '{alias}' already exists in the Knowledge Base.")
    W018 = ("Entity '{entity}' already exists in the Knowledge Base.")
    W017 = ("Alias '{alias}' already exists in the Knowledge Base.")
    W018 = ("Entity '{entity}' already exists in the Knowledge Base.")
      W019 = ("Changing vectors name from {old} to {new}, to avoid clash with "
              "previously loaded vectors. See Issue #3853.")
      W020 = ("Unnamed vectors. This won't allow multiple vectors models to be "
              "loaded. (Shape: {shape})")
      W021 = ("Unexpected hash collision in PhraseMatcher. Matches may be "
keep keep keep keep replace 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