':param root: The root directory for the corpus.
:param fileids: a list or regexp specifying the fileids in the corpus.
:param word_tokenizer: a tokenizer for breaking sentences or paragraphs
into words. Default: `WhitespaceTokenizer`
:param sent_tokenizer: a tokenizer for breaking paragraphs into sentences.
:param encoding: the encoding that should be used to read the corpus.
:param kwargs: additional parameters passed to CategorizedCorpusReader.'

def __init__(self, root, fileids, word_tokenizer=WhitespaceTokenizer(), sent_tokenizer=None, encoding='utf8', **kwargs):

    CorpusReader.__init__(self, root, fileids, encoding)
    CategorizedCorpusReader.__init__(self, kwargs)
    self._word_tokenizer = word_tokenizer
    self._sent_tokenizer = sent_tokenizer
