| Home | Trees | Indices | Help |
|---|
|
|
StateMachineFileParser --+
|
SMARTParser
SMART file parser
>>> tp = SMARTParser(callback, sections = None)
The callback function receives (docid, cats, text).
sections: None: Read all sections, or ["T", "W"]: Only read sections .T and .W
To begin parsing, use one of:
parse(line) # call repeatedly for each
line.
parseFile(fin)
parseFileName(fileName)
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Tue Oct 12 11:00:25 2010 | http://epydoc.sourceforge.net |