

def __init__(self, *args, **kwargs):
    CategorizedCorpusReader.__init__(self, kwargs)
    kwargs['sent_tokenizer'] = nltk.data.LazyLoader('tokenizers/punkt/portuguese.pickle')
    PlaintextCorpusReader.__init__(self, *args, **kwargs)

dataset/ETHPy150Open nltk/nltk/nltk/corpus/reader/plaintext.py PortugueseCategorizedPlaintextCorpusReader.__init__/original