| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
Tokenizer --+
|
ReverseTokenizer
Tokenize a stream from the end to the beginning.
|
| Class Hierarchy for ReverseTokenizer |
|
|||
|
|||
| int |
|
||
| int |
|
||
| bool |
|
||
| str |
|
||
| float |
|
||
|
|||
|
Inherited from |
|||
| Inherited from Tokenizer | |||
|---|---|---|---|
| bool |
|
||
| bool |
|
||
|
|||
| Inherited from Tokenizer | |||
|---|---|---|---|
__metaclass__ = abc.ABCMeta
|
|||
|
|||
|
Inherited from |
|||
|
|||
Constructor of the ReverseTokenizer class.
|
Check the number of tokens left.
|
Count the number of characters in the stream.
Note: Should return the same value as the wc Unix command. |
Test if at least one token remains.
|
Retrieve the next token in the stream.
Note: As this is a reversed tokenizer the "next" token is currently what one would call the "previous" token but in the tokenizer workflow if think its more logic to call it the "next" token. |
Return the progress percentage.
|
Reset the offset to the end offset.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Tue Jun 16 23:30:31 2015 | http://epydoc.sourceforge.net |