code: def ot_tnrs_match_names(name_list,
                          context_name=None,
                          do_approximate_matching=True,
                          include_dubious=False,
                          include_deprecated=True,
                          tnrs_wrapper=None):
      
      if tnrs_wrapper is None:
          from peyotl.sugar import tnrs
          tnrs_wrapper = tnrs
      match_obj = tnrs_wrapper.match_names(name_list,
                                           context_name=context_name,
                                           do_approximate_matching=do_approximate_matching,
                                           include_deprecated=include_deprecated,
                                           include_dubious=include_dubious,
                                           wrap_response=True)
      return match_obj
docs: Uses a peyotl wrapper around an Open Tree web service to get a list of OTT IDs matching
      the `name_list`.
      The tnrs_wrapper can be None (in which case the default wrapper from peyotl.sugar will be used.
      All other arguments correspond to the arguments of the web-service call.
      A ValueError will be raised if the `context_name` does not match one of the valid names for a
          taxonomic context.
      This uses the wrap_response option to create and return a TNRSRespose object around the response.