      E980 = ("Each link annotation should refer to a dictionary with at most one "
              "identifier mapping to 1.0, and all others to 0.0.")
      E982 = ("The 'ent_iob' attribute of a Token should be an integer indexing "
              "into {values}, but found {value}.")
      E983 = ("Invalid key for '{dict}': {key}. Available keys: "
              "{keys}")
      E985 = ("The pipeline component '{component}' is already available in the base "
 
</s> remove             "entities": [(7, 15, "LOC"), (20, 26, "LOC")],
            "links": {(0, 1): {"Q7381115": 1.0, "Q2146908": 0.0}},
 </s> add             "links": {(7, 14): {"Q7381115": 1.0, "Q2146908": 0.0}},
    E981 = ("The offsets of the annotations for 'links' could not be aligned "
            "to token boundaries.")
      E980 = ("Each link annotation should refer to a dictionary with at most one "
              "identifier mapping to 1.0, and all others to 0.0.")
    E981 = ("The offsets of the annotations for 'links' could not be aligned "
            "to token boundaries.")
      E982 = ("The 'ent_iob' attribute of a Token should be an integer indexing "
              "into {values}, but found {value}.")
      E983 = ("Invalid key for '{dict}': {key}. Available keys: "
              "{keys}")
      E985 = ("The pipeline component '{component}' is already available in the base "
keep add keep keep keep keep keep
 raise error when links are not aligned to tokens 
spacy/errors.py