Parsing Functions Comparison Table
How Each Parsing Function Saves Ouput
Here is a table that describes the functions for parsing documents.
Function | # of Documents | Return Results as Object | Save Results | When to Use |
---|---|---|---|---|
parse_documents | Multiple | Yes | No | You want to parse multiple documents and return the output in the Terminal. |
parse_and_save_documents | Multiple | No | Yes | You want to parse multiple documents and save the output as JSON files. |
parse_and_save_document | 1 | Optional* | Optional* | You want to parse one document. |
* If you save the results to a directory, the results are not returned as objects.