class documentation

class BlanklineTokenizer(RegexpTokenizer): (source)

View In Hierarchy

Tokenize a string, treating any sequence of blank lines as a delimiter. Blank lines are defined as lines containing no characters, except for space or tab characters.

Method __init__ Undocumented

Inherited from RegexpTokenizer:

Method __repr__ Undocumented
Method span_tokenize Identify the tokens using integer offsets (start_i, end_i), where s[start_i:end_i] is the corresponding token.
Method tokenize Return a tokenized copy of s.
Method _check_regexp Undocumented
Instance Variable _discard_empty Undocumented
Instance Variable _flags Undocumented
Instance Variable _gaps Undocumented
Instance Variable _pattern Undocumented
Instance Variable _regexp Undocumented

Inherited from TokenizerI (via RegexpTokenizer):

Method span_tokenize_sents Apply self.span_tokenize() to each element of strings. I.e.:
Method tokenize_sents Apply self.tokenize() to each element of strings. I.e.: