code: def _parse_args(fun):
      """
      Wraps function arguments:
      if fileids not specified then function set NKJPCorpusReader paths.
      """
  
      @functools.wraps(fun)
      def decorator(self, fileids=None, **kwargs):
          if not fileids:
              fileids = self._paths
          return fun(self, fileids, **kwargs)
  
      return decorator
  
imports: import functools
  import os
  import re
  import tempfile
  from nltk.corpus.reader.util import concat
  from nltk.corpus.reader.xmldocs import XMLCorpusReader, XMLCorpusView
label_desc: Use image node_id 1 for calling a global function with example usage: _parse_args(fun) and returns: decorator, fun