  from spacy.matcher import Matcher
  from spacy.tokens import Doc, Span
  from spacy.vocab import Vocab
  from spacy.compat import pickle
  from spacy.util import link_vectors_to_models
  import numpy
  import random
  
  from ..util import get_doc
  
 
</s> remove from ..util import link_vectors_to_models, minibatch
 </s> add from ..util import minibatch </s> remove from ..util import link_vectors_to_models, create_default_optimizer
 </s> add from ..util import create_default_optimizer </s> remove from ..util import link_vectors_to_models, create_default_optimizer, registry
 </s> add from ..util import create_default_optimizer, registry </s> remove from .util import link_vectors_to_models, registry
 </s> add from .util import registry </s> remove         link_vectors_to_models(self.vocab)
 </s> add 
  from spacy.matcher import Matcher
  from spacy.tokens import Doc, Span
  from spacy.vocab import Vocab
  from spacy.compat import pickle

  import numpy
  import random
  
  from ..util import get_doc
  
keep keep keep keep replace keep keep keep keep keep
 Clean up link_vectors_to_models unused stuff 
spacy/tests/regression/test_issue2501-3000.py