Problem Statement

Problem Statement: Intelligent Machine Learning-Based Offline DOCX-to-Publication Book Formatting System


Background

Book publishers, academic institutions, and conference organizers frequently receive manuscripts as unformatted Microsoft Word (.docx) files. Editorial teams must manually apply formatting standards, consuming significant time and resources while introducing formatting inconsistencies across publications. An automated document formatting solution can substantially improve productivity, accuracy, and standardization.

The Challenge

Design and develop an offline, Machine Learning (ML)-based intelligent document formatting system that automatically converts an unformatted Microsoft Word (.docx) manuscript into a publication-ready book document using predefined formatting specifications.

The application should analyze the document structure, recognize document elements, and automatically apply the required formatting with minimal user intervention. Upon uploading a DOCX file, the system should process the manuscript and generate a fully formatted Microsoft Word (.docx) output.

Important Technical Requirement

The objective of this challenge is to develop an ML-powered document formatting system. The use of Generative AI, Large Language Models (LLMs), cloud-based AI services, or AI assistants (such as ChatGPT, Gemini, Claude, Copilot, DeepSeek, or similar tools) for document formatting is strictly prohibited.

Participants are encouraged to use Machine Learning, Natural Language Processing (NLP), pattern recognition, rule-based algorithms, document object models, or hybrid ML approaches that execute entirely offline.

Functional Requirement

The proposed solution shall:

  • Accept Microsoft Word (.docx) files as input.

  • Automatically identify document components, including:

    • Title

    • Author details

    • Chapter headings

    • Subheadings

    • Body paragraphs

    • Tables

    • Figures

    • Captions

    • References

    • Lists (if present)

  • Automatically apply the predefined publication formatting.

  • Preserve all original content without rewriting, paraphrasing, summarizing, or modifying the author's text.

  • Generate a publication-ready Microsoft Word (.docx) file as output.

  • Operate completely offline without internet connectivity.

  • Be fully compatible with Microsoft Office Word.

  • Successfully process manuscripts containing at least 400 pages while maintaining formatting accuracy, document integrity, and acceptable processing performance.

Publication Formatting Specifications


Document Layout

  • Single-column layout

  • Font: Times New Roman

  • Text Color: Black

  • Body Font Size: 12 pt

  • Paragraph Alignment: Justified

  • Line Spacing: 1.5

  • First-Line Indentation: 1.27 cm

Page Layout

  • Top Margin: 1.52 cm

  • Bottom Margin: 1.52 cm

  • Left Margin: 1.97 cm

  • Right Margin: 1.96 cm

  • Gutter Position: Left

Heading Styles

  • Heading 1: 16 pt, Bold

  • Subheading: 12 pt, Bold


Deliverables

  • System architecture and workflow

  • ML or intelligent formatting methodology

  • Formatting engine design

  • Working prototype or executable application

  • Sample input manuscript (.docx)

  • Automatically formatted output (.docx)

  • Before-and-after comparison demonstrating formatting accuracy

  • Performance evaluation, including execution time, memory usage, and formatting accuracy for large documents

Evaluation Focus : Solutions will be evaluated based on:

  • Formatting accuracy

  • Document structure recognition

  • Processing speed

  • Scalability (minimum 400-page documents)

  • Microsoft Office compatibility

  • Offline execution

  • Code quality and system design

  • Ease of use and reliability

Goal:

Develop a robust, scalable, Machine Learning-based offline document formatting system capable of automatically transforming raw Microsoft Word manuscripts into publication-ready book documents. The solution must eliminate manual formatting effort while ensuring consistency, high accuracy, Microsoft Office compatibility, and reliable processing of large manuscripts without using Generative AI or cloud-based AI services.

 Round 1 submission