code: def get_language(language_name):
      
  
      langs = list(pkg_resources.iter_entry_points(group=LANG_EP,
                                                   name=language_name))
  
      if not langs:
          raise TextXError('Language "{}" is not registered.'
                           .format(language_name))
  
      if len(langs) > 1:
          # Multiple languages defined with the same name
          raise TextXError('Language "{}" registered multiple times:\n{}'
                           .format(language_name,
                                   "\n".join([l.dist for l in langs])))
  
      return langs[0].load()()
docs: Returns a callable that instantiates meta-model for the given language.