|
DocWire DocToText - Powered by Silvercoders 5.0.5
A multifaceted, data extraction software development toolkit that converts all sorts of files to plain text and html. Written in C++, this data extraction tool has a parser able to convert PST & OST files along with a brand new API for better file processing. To enhance its utility, DocToText, as a data extraction tool, can be integrated with other data mining and data analytics applications. It comes equipped with a high grade, scriptable and trainable OCR that has LSTM neural networks based character recognition. This document parser is able to extract metadata along with annotations and supports a list of formats that include: DOC, XLS, XLSB, PPT, RTF, ODF (ODT, ODS, ODP), OOXML (DOCX, XLSX, PPTX), iWork (PAGES, NUMBERS, KEYNOTE), ODFXML (FODP, FODS, FODT), PDF, EML, HTML, Outlook (PST, OST), Image (JPG, JPEG, JFIF, BMP, PNM, PNG, TIFF, WEBP) and DICOM (DCM)
|
#include <parser_builder.h>

Public Member Functions | |
| virtual std::unique_ptr< Parser > | build (const std::string &inFileName) const =0 |
| Builds new parser object. More... | |
| virtual std::unique_ptr< Parser > | build (const char *buffer, size_t size) const =0 |
| Builds new parser object. More... | |
| virtual ParserBuilder & | withLogStream (std::ostream *log_stream)=0 |
| Sets log stream for parser. More... | |
| virtual ParserBuilder & | withVerboseLogging (bool verbose)=0 |
| Turns on/off verbose logging. More... | |
| virtual ParserBuilder & | withOnNewNodeCallbacks (const std::vector< NewNodeCallback > &callbacks)=0 |
| Adds callback function. More... | |
| virtual ParserBuilder & | withParserManager (const std::shared_ptr< ParserManager > &inParserManager)=0 |
| Sets parser manager. More... | |
| virtual ParserBuilder & | withParameters (const ParserParameters &inParameters)=0 |
| Sets parser parameters. More... | |
Abstract class to build parsers. Parser could be built from path to file or from data buffer.
Definition at line 50 of file parser_builder.h.
|
pure virtual |
Builds new parser object.
| buffer | raw data of file to be parsed |
| size | file size |
Implemented in doctotext::ParserBuilderWrapper< ParserCreator >.
|
pure virtual |
Builds new parser object.
| inFileName | path to file |
Implemented in doctotext::ParserBuilderWrapper< ParserCreator >.
|
pure virtual |
Sets log stream for parser.
| log_stream |
Implemented in doctotext::ParserBuilderWrapper< ParserCreator >.
|
pure virtual |
Adds callback function.
| callbacks |
|
pure virtual |
Sets parser parameters.
| inParameters |
Implemented in doctotext::ParserBuilderWrapper< ParserCreator >.
|
pure virtual |
Sets parser manager.
| inParserManager |
|
pure virtual |
Turns on/off verbose logging.
| verbose |
Implemented in doctotext::ParserBuilderWrapper< ParserCreator >.