Key Value Extraction
Apryse's Key-Value Extraction engine helps you automatically identify and extract meaningful key-value pairs from PDFs — even when the document is unstructured or doesn't contain form fields. Whether you're processing invoices, resumes, or complex reports, KVE saves hours of manual tagging by turning documents into structured JSON.
Exclusive to the Apryse SDK, Key-Value Extraction also supports pulling data from CAD and other technical drawing title blocks.
How It Works
The engine scans each page for likely key terms (e.g., labels, field names, categories) and maps them to associated values (e.g., specific data, answers, identifiers). This hyponymic relationship allows KVE to structure data from real-world documents without templates or prior annotation.
JSON Output Specification
Refer to the following specifications to learn more about the output JSON format:
Extract key-value pairs as JSON file
Specify the name of the input PDF file and the name of the output JSON file, then select the Generic Key Value engine:
DataExtractionModule.ExtractData("newsletter.pdf", "newsletter.json", DataExtractionModule.DataExtractionEngine.e_generic_key_value);DataExtractionModule::ExtractData("newsletter.pdf", "newsletter.json", DataExtractionModule::e_GenericKeyValue);DataExtractionModuleExtractData("newsletter.pdf", "newsletter.json", DataExtractionModuleE_GenericKeyValue)DataExtractionModule.extractData("newsletter.pdf", "newsletter.json", DataExtractionModule.DataExtractionEngine.e_generic_key_value);await PDFNet.DataExtractionModule.extractData("newsletter.pdf", "newsletter.json", PDFNet.DataExtractionModule.DataExtractionEngine.e_GenericKeyValue);DataExtractionModule::ExtractData("newsletter.pdf", "newsletter.json", DataExtractionModule::e_GenericKeyValue);DataExtractionModule.ExtractData("newsletter.pdf", "newsletter.json", DataExtractionModule.e_GenericKeyValue)DataExtractionModule.ExtractData("newsletter.pdf", "newsletter.json", DataExtractionModule::E_GenericKeyValue)DataExtractionModule.ExtractData("newsletter.pdf", "newsletter.json", DataExtractionModule.DataExtractionEngine.e_generic_key_value)Extract key-value pairs as JSON string
Specify the name of the input PDF file, then select the Generic Key Value engine:
Optional Configurations
Use Key-Value Extraction engine with DetectAndAddFormFieldsToPDF
By default, DetectAndAddFormFieldsToPDF uses the Form Field Detection engine. You can force the function to use the Form Field Key-Value Extraction engine using the "Form Extraction Engine" option.
Last updated
Was this helpful?