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)
doctotext::ParserProvider Class Referenceabstract

The ParserProvider class. More...

#include <parser_provider.h>

Inheritance diagram for doctotext::ParserProvider:

Public Member Functions

virtual std::optional< ParserBuilder * > findParserByExtension (const std::string &extension) const =0
 Returns parser builder for given extension type or nullopt if no parser is found. More...
 
virtual std::optional< ParserBuilder * > findParserByData (const std::vector< char > &buffer) const =0
 Returns parser builder for given raw data or nullopt if no parser is found. More...
 
virtual std::set< std::string > getAvailableExtensions () const =0
 Returns all available parsers. More...
 

Detailed Description

The ParserProvider class.

Examples
example_9.cpp.

Definition at line 50 of file parser_provider.h.

Member Function Documentation

◆ findParserByData()

virtual std::optional< ParserBuilder * > doctotext::ParserProvider::findParserByData ( const std::vector< char > &  buffer) const
pure virtual

Returns parser builder for given raw data or nullopt if no parser is found.

Parameters
bufferbuffer of raw data
Returns
specific parser builder or nullopt if no parser is found

◆ findParserByExtension()

virtual std::optional< ParserBuilder * > doctotext::ParserProvider::findParserByExtension ( const std::string &  extension) const
pure virtual

Returns parser builder for given extension type or nullopt if no parser is found.

Parameters
inExtensionfile extension (e.g. ".txt", ".docx", etc.)
Returns
specific parser builder or nullopt if no parser is found

◆ getAvailableExtensions()

virtual std::set< std::string > doctotext::ParserProvider::getAvailableExtensions ( ) const
pure virtual

Returns all available parsers.

Returns
sets of all available parsers

The documentation for this class was generated from the following file: