A Rule-Based Expert System for Automated Document Editing
摘要
This research paper introduces a Rule-Based Expert System designed for the automated editing of documents in PDF and PPT formats. The system employs a set of predefined rules, extracted from guideline documents using a Large Language Model (LLM), to execute tasks such as redaction of sensitive text/logo detection and annotation of text elements that deviate from prescribed font size guidelines. Following the detection and annotation process, the system further enhances documents by resizing the detected text elements based on the predefined rules. To achieve these editing tasks, the system integrates advanced image processing techniques, leveraging fine-tuned Optical Character Recognition (OCR) for accurate text extraction from document images. Furthermore, Natural Language Processing (NLP) algorithms are utilized to analyze and interpret textual content. The combination of image processing, OCR, NLP, and rule extraction using LLM ensures a comprehensive approach to document editing, enhancing efficiency and accuracy. The proposed system addresses the need for automated and rule-driven document editing, contributing to advancements in information security and document standardization.