| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
Tokenizer --+
|
ForwardTokenizer
Tokenize a stream from the beginning to the end.
|
| Class Hierarchy for ForwardTokenizer |
|
|||
|
|||
| int |
|
||
| int |
|
||
| bool |
|
||
| str |
|
||
| float |
|
||
|
|||
|
Inherited from |
|||
| Inherited from Tokenizer | |||
|---|---|---|---|
| bool |
|
||
| bool |
|
||
|
|||
| Inherited from Tokenizer | |||
|---|---|---|---|
__metaclass__ = abc.ABCMeta
|
|||
|
|||
|
Inherited from |
|||
|
|||
Constructor of the ForwardTokenizer class.
Warning: When passing IOBase type variable as stream parameter: the read() method is used to read the stream and it can be time consuming. Please don't pass IOBase during the prediction process! |
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.
|
Return the progress percentage.
|
Reset the offset to 0.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Tue Jun 16 23:30:31 2015 | http://epydoc.sourceforge.net |