code: def load_model(modelname, add_sentencizer=False):
      
      loading_start = time.time()
      nlp = spacy.load(modelname)
      if add_sentencizer:
          nlp.add_pipe(nlp.create_pipe('sentencizer'))
      loading_end = time.time()
      loading_time = loading_end - loading_start
      if add_sentencizer:
          return nlp, loading_time, modelname + '_sentencizer'
      return nlp, loading_time, modelname
docs: Load a specific spaCy model