':param root: The root directory for this corpus.
:param nomfile: The name of the file containing the predicate-
argument annotations (relative to ``root``).
:param framefiles: A list or regexp specifying the frameset
fileids for this corpus.
:param parse_fileid_xform: A transform that should be applied
to the fileids in this corpus.  This should be a function
of one argument (a fileid) that returns a string (the new
fileid).
:param parse_corpus: The corpus containing the parse trees
corresponding to this corpus.  These parse trees are
necessary to resolve the tree pointers used by nombank.'

def __init__(self, root, nomfile, framefiles=u'', nounsfile=None, parse_fileid_xform=None, parse_corpus=None, encoding=u'utf8'):

    if isinstance(framefiles, string_types):
        framefiles = find_corpus_fileids(root, framefiles)
    framefiles = list(framefiles)
    CorpusReader.__init__(self, root, ([nomfile, nounsfile] + framefiles), encoding)
    self._nomfile = nomfile
    self._framefiles = framefiles
    self._nounsfile = nounsfile
    self._parse_fileid_xform = parse_fileid_xform
    self._parse_corpus = parse_corpus
