---
title: "KeywordsAIProcessor"
url: "https://reference.aspose.com/ocr/python-net/aspose.ocr.ai/keywordsaiprocessor/"
product: "Aspose.OCR for Python via .NET API Reference"
---


## KeywordsAIProcessor class

AI post-processor that analyzes OCR results and extracts keywords and values.

The KeywordsAIProcessor type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|KeywordsAIProcessor()|Initializes a new instance of the KeywordsAIProcessor class|
## Methods
| Name | Description |
| :- | :- |
|set_keywords(keywords)|Sets the keywords used for searching OCR-recognized text.|
|get_result()|Returns the AI-processed recognition results.<br/>            The recognition output is returned as a JSON-formatted string with the following structure:|
|save_txt(filename)|Saves the extracted tables and processed text results into a TXT file.|
|save_xlsx(filename)|Saves the extracted structured tables into an XLSX (Excel) file.|
|save_md(filename)|Saves the extracted structured tables into a Markdown (.md) file.|

### See Also

* namespace [aspose.ocr.ai](/ocr/python-net/aspose.ocr.ai/)
* assembly [Aspose.ocr](/ocr/python-net/)

