Cheshire3 Objects: PreParser |
A PreParser takes a Document and creates a second one. For example, the input document might consist solely of a URL. The output would be a Document with the data that the PreParser has fetched from that address. This functionality allows for work flow chains to be strung together in many ways, and perhaps in ways which the original implemention had not foreseen.
Function | Parameters | Returns | Description |
---|---|---|---|
__init__ | config, parent | ||
process_document | session, document | Document | Return a new document after some transformation |