JSONSaver#
- class JSONSaver(config)#
Bases:
Saver
Saves all
Document
to a specified output_file in JSON format- Parameters:
Example
{ "step": "saver", "type": "json", "fields": [ "text", "prediction" ], "output_file": "data.json" }
Methods Summary
process_batch
(batch)Process a batch of documents.
Methods Documentation