Home | Trees | Indices | Help |
|
---|
|
object --+ | Tokenizer --+ | ForwardTokenizer
Tokenize a stream from the beginning to the end.
![]() |
Class Hierarchy for ForwardTokenizer |
|
|||
Inherited from Tokenizer | |||
---|---|---|---|
__metaclass__ Metaclass for defining Abstract Base Classes (ABCs). |
|
|||
|
|||
int |
|
||
int |
|
||
bool |
|
||
str |
|
||
float |
|
||
|
|||
Inherited from |
|||
Inherited from Tokenizer | |||
---|---|---|---|
bool |
|
||
bool |
|
|
|||
__abstractmethods__ =
|
|||
Inherited from Tokenizer | |||
---|---|---|---|
_abc_cache = <_weakrefset.WeakSet object at 0x7f2a42321710>
|
|||
_abc_negative_cache = <_weakrefset.WeakSet object at 0x7f2a423
|
|||
_abc_negative_cache_version = 39
|
|||
_abc_registry = <_weakrefset.WeakSet object at 0x7f2a42321690>
|
|
|||
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 Jul 14 21:07:50 2015 | http://epydoc.sourceforge.net |