human
Complete this python program:
def _parse_args(fun):
assistant
#Here is the Python code you requested.

    """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