code: def load_ner_model(lang="en", version="2"):
    
    src_dir = "ner{}".format(version)
    p = locate_resource(src_dir, lang)
    fh = _open(p)
    try:
      return pickle.load(fh)
    except UnicodeDecodeError:
      fh.seek(0)
      return pickle.load(fh, encoding='latin1')
docs: Return a named entity extractor parameters for `lang` and of version `version`
  
    Args:
      lang (string): language code.
      version (string): version of the parameters to be used.