Hancom Product User Guide

Document Parser Getting Started Guide – A Comprehensive Overview of Hancom Data Loader’s Direct HWP/HWPX Parsing and Supported Formats

HANCOM

While corporate documents are vast, transforming the information within them into a format that AI can readily utilize is more complex than it seems. Simply extracting text misses too much information, such as PDFs containing images, tables full of merged cells, and hierarchical structures intertwined with indentations.

Without document digitalization, it is difficult to fully begin building RAG systems, securing LLM training data, or developing agents. This guide provides a comprehensive summary of Hancom Data Loader’s supported formats, core features, and deployment methods.

Document Data Extraction: Why Can’t It Be Fed Directly into AI?

An increasing number of companies are looking to introduce generative AI into their operations, but many stall at the stage of utilizing internal documents for AI. The reason is usually the same: the process of converting documents into an AI-readable format—the document data extraction stage—is more complex than expected.

Image explaining the complexity of unstructured data processing

Why Unstructured Data Processing Is Complex – Different Preprocessing Methods for Each Format

The fundamental difficulty of unstructured data processing lies in the fact that completely different parsing strategies are required for each format. HWP and HWPX internal structures cannot be accessed without a dedicated parser, and while text-based digital PDFs and scanned image PDFs may look the same, their processing methods are entirely different. Adding OOXML into the mix makes consistent processing through a single pipeline a significant challenge.

A more difficult issue is the structural complexity within documents. In documents with multi-column layouts, the reading order for humans may differ from the extraction order for machines, and indentations created by user error can distort the hierarchical structure.

In particular, the HWP and HWPX formats, which account for the majority of documents in Korean public and financial environments, are often impossible to process using overseas open-source tools.

Limitations of Document Text Extraction

In a RAG pipeline, document parsing quality is the first gateway that determines the accuracy of the final AI response. Simply extracting document text can lead to the following issues:

  • Tables: If merged cells or nested tables are extracted simply, the row-column relationships are broken, causing the AI to lose context.
  • Images and Charts: Key information contained in sales graphs, organizational charts, and process diagrams is completely omitted during the extraction process.
  • Hierarchical Structure: If the hierarchy of Title–Subtitle–Body becomes blurred, chunking boundaries will be misaligned, leading to a decline in both embedding quality and search accuracy.

Low parsing quality has a chain effect on the entire process: chunking → embedding → search → response. Document digitalization is the common starting point for RAG solution construction and AX (AI Transformation).

Image explaining the document structure analysis process for Hancom Data Loader document data

Hancom Data Loader – Document Parsing Solution for Document Digitalization

Hancom Data Loader is a document structure analysis solution that accurately separates and extracts documents down to semantic units, providing structured data along with agent-friendly metadata. Using a document structure-preserving extraction method rather than general OCR (Optical Character Recognition), it serves as a core preprocessing technology for RAG construction, creating more sophisticated and reliable document-based knowledge.

Document Data Output Formats and Extractable Formats – HWP, HWPX, PDF, OOXML

Hancom Data Loader supports all major document and image formats, including HWP, HWPX, PDF, DOCX, XLSX, PPTX, PNG, and JPG.

Comparison of Parsing Methods by Format for Hancom Data Loader

Input FormatProcessing MethodKey Features
HWP, HWPXDirect Parsing of Original BinaryPreserves table structures, footnotes, and metadata; no PDF conversion required
PDFDirect Original Extraction + OCR IntegrationIncludes scanned documents; structures via layout analysis
OOXML (DOCX, XLSX, PPTX)Text ExtractionExtracts text, tables, and images within Office documents
PNG, JPG, BMPOCR-Based RecognitionCovers even scanned images

Hancom Data Loader Output Formats

Extraction results are output in structured data formats such as JSON, HTML, and Clientinfo, depending on the usage environment (Studio/Solution) and input format. These can be utilized for purposes such as AI training, search indexing, and RAG.

Usage EnvironmentInput FormatOutput Format
StudioPDFJSON, HTML, Viewer
StudioHWP, HWPXJSON, Viewer
SolutionPDF_AI, HWP, HWPXJSON, Clientinfo
SolutionOOXML (DOCX, XLSX, PPTX), PDFClientinfo
API SaaS PDF, HWP, HWPXJSON

🔗 Curious about more core features of Hancom Data Loader?

HWP/HWPX Data Parsing – Direct Extraction from Source Without PDF Conversion

Most parsing tools use a workaround by converting HWP/HWPX to PDF before extraction. In this process, tables are converted into images, making recognition impossible, and formatting information such as footnotes, indentations, and bullets may be lost.

In contrast, Hancom Data Loader directly analyzes original HWP/HWPX files to minimize structural distortion and information loss. It accurately reads complex bullet points and deeply indented lists, preserving the original structure and meaning. Even for indentations created by user error, the AI infers the level structure and automatically corrects it.

In addition, it provides level inference technology that automatically tags hierarchy levels by analyzing paragraph styles, indentations, and numbering systems. By recognizing the indentation-based hierarchical structures unique to Korean public documents, laws, and reports, it generates structured chunks and improves RAG search accuracy.

Image explaining the conversion of public documents into structured data with Hancom Data Loader

The Start of Workflow Automation: Core Document Data Extraction Technology, Semantix

Images, diagrams, and charts within documents are included alongside text, but in general extraction processes, they are often only recognized as individual objects.

Semantix addresses these limitations by first analyzing and interpreting complex PDF and image documents with AI, extracting data that Hancom Data Loader can utilize. Based on various technologies such as OCR, Table Structure Recognition (TSR), and Image Captioning, it interprets visual elements along with context, enabling images and charts to be searched and utilized in the same way as text.

Document Layout Analysis (DLA)

Document Layout Analysis (DLA) is a structural analysis technology that utilizes AI deep learning to distinguish various elements within a document—such as text, images, tables, and graphics—and accurately identify the position and relationship of each element. It classifies more than 20 types of objects based on granular criteria and recognizes bulleted and indented list-type text with high accuracy.

A particular strength is its ability to accurately separate and recognize individual objects, such as tables and images, even when they are positioned close together. By automatically designating the reading order considering the document structure (single-column, multi-column, translated versions, etc.), it prevents incorrect data interpretation that often occurs in multi-column layouts. The extracted hierarchical information serves as the basis for semantic unit chunking in the RAG pipeline, leading to improved search accuracy.

Image showing how Hancom Data Loader performs Document Layout Analysis

Unstructured Data Processing – Table Structure Recognition (TSR) for Data Separation

Table Structure Recognition (TSR) is a technology that converts tables in images into machine-understandable formats, such as logical coordinates or markup sequences. It accurately restores the logical structure of a table by identifying relationships between cells and fully supports borderless tables, merged cells, and nested tables. The converted data is output in Markdown, JSON, and HTML formats by cell, row, and column, allowing for immediate use without additional post-processing.

Image explaining the core features of Hancom Data Loader's supported formats at a glance

Automatic Contextual Keyword Tagging for Images and Charts – Image Captioning

Image Captioning is an image interpretation technology that understands the context and relationships of objects within an image and generates or extracts the results in natural language. It understands the context of unstructured visual information to digitalize it without loss and generates accurate captions by analyzing relationships between objects.

It supports labeling optimized for B2G and B2B work environments. It can be operated quickly and stably without the need for separate high-specification infrastructure.

Its range of applications is also diverse. It improves image search and matching accuracy in RAG-based Q, strengthens accessibility for the digitally disadvantaged through automatic generation of alternative text, and even enables the construction of automatic classification pipelines through image tagging and metadata assignment.

※ The Image Captioning feature is currently in the PoC stage, and the commercial release schedule will be announced later.

👉 Learn more about Hancom Data Loader technology

RAG Pipeline – From Document Upload to AI Response

Hancom Data Loader provides the entire process from document collection to data extraction, RAG connection, and AI response as a single pipeline. It is structured so that when a document is uploaded, it is immediately converted into data that AI can utilize without separate preprocessing.

Image related to the Hancom Data Loader utilization process

From Document Parsing to Structured Data Generation

When a document is input, it goes through the LOAD (document collection) → EXTRACT (document structure analysis, hierarchy detection, order recognition) stages to generate structured data. It is organized in a form that includes the context and structure of the document, rather than just simple text.

Review and Post-Correction of Extraction Results via Data Loader Studio

The extracted data can be reviewed side-by-side with the original document in Data Loader Studio (extended solution).

Users can directly verify hierarchy, categories, reading order, and more, and post-correct necessary parts to ensure that document structure and semantic relationships are refined to fit actual business purposes. Additionally, through semantic-based tagging and labeling work, extraction criteria can be supplemented to match client document formats, and data quality can be refined to be suitable for learning and search.

Hancom Pedia Integration – Integrated RAG Pipeline Construction

The refined data proceeds through the chunking → embedding → vector DB storage stages and connects directly to the RAG pipeline. By directly integrating with Hancom’s proprietary RAG solution Hancompedia, you can quickly build a document-based knowledge search system.

If you are considering implementing document parsing, try uploading HWP, HWPX, and PDF files directly to the Hancom Data Loader live demo to check the DLA and TSR results.

👉Go to Hancom Data Loader Live Demo

Comparing Document Parsing On-Premise and SaaS API – Choosing the Deployment Method That Fits Your Situation

Hancom Data Loader supports two deployment methods depending on the security environment and implementation purpose. On-premise is a method of installing and operating directly on the customer’s internal server, while the SaaS API method allows for immediate integration and use without separate installation.

On-Premise Document Parsing – A Closed Network Environment Where Documents Do Not Leave the Premises

Hancom Data Loader is designed to be installed and operated on the customer’s internal server, ensuring that document data is not transmitted externally. It can be operated even in closed network environments with limited internet access, making it suitable for environments with high security requirements, such as public and financial institutions.

Furthermore, you can choose between two extraction methods depending on the document type. Structured documents with consistent formats, such as official, legal, and medical documents, are processed quickly using a rule-based model based on a predefined schema. Unstructured documents mixed with drawings, tables, and images undergo precise structural analysis using an AI OCR-based layout analysis method. You can choose the method that fits your company’s situation or use them in combination.

SaaS API Method – Start Immediately Without Installation

The SaaS API method can be integrated and used immediately without building a separate server. Costs are incurred only for what is used through a per-page billing structure, allowing for rapid implementation without initial investment costs. It is also suitable for pilot testing before on-premise deployment.

Comparison of On-Premise and SaaS API Deployment Methods

Comparison ItemOn-PremiseSaaS API Method
Data SecurityContained within internal network; operable without external transmissionProcessed via external API calls
Initial CostServer infrastructure construction requiredUsable without initial investment
Billing MethodSolution implementation costUsage-based billing (per page)
Implementation SpeedBuilt and operated according to internal environment after Docker-based installationCan start quickly via API integration
Suitable EnvironmentEnvironments processing sensitive data, such as public institutions and large corporationsPilot/small-scale testing, environments requiring rapid application

Document-Based AX Starting with Hancom Data Loader

🖥️ Hancom Data Loader

Document digitalization is the common starting point for building RAG systems, securing LLM training data, and developing AI agents.

Hancom Data Loader is the only solution in Korea that fully supports HWP and HWPX in their original form without PDF conversion, and it also processes various formats including PDF, OOXML, and images. It converts major document formats, including HWP, HWPX, and PDF, into structured data while preserving table, hierarchy, and image structures.

It supports post-correction through Data Loader Studio even after parsing, and by integrating with Hancom Pedia, you can complete document-based AI construction that leads all the way to RAG response generation.

If you want to optimize your company’s AI construction, please visit the Hancom Data Loader website today.

👉 Go to Hancom Data Loader Live Demo

👉Inquire about Hancom Data Loader Implementation


References

  1. Hancom, “Hancom Data Loader”
  2. Hancom SDK, “Data Loader Service Page”
  3. inews24, “Hancom Unveils ‘Open Data Loader v2.0′”
  4. AI Times, “Global Launch of Hancom Data Loader”