def __init__(self, blanklines='discard'):
        valid_blanklines = ('discard', 'keep', 'discard-eof')
        if blanklines not in valid_blanklines:
            raise ValueError('Blank lines must be one of: %s' %
                             ' '.join(valid_blanklines))

        self._blanklines = blanklines
dataset/ETHPy150Open nltk/nltk/nltk/tokenize/simple.py/LineTokenizer.__init__/original