Document Workbench (formerly PDF Processor / doc-extractor)
Copyright (c) 2025-2026 Canworks, LLC

LICENSING
=========

This project changed license. Which terms apply depends on the version:

  * Version v0.1.0-mit and all earlier commits
      MIT License. See LICENSE-MIT.
      That grant is perpetual and irrevocable for those versions. Nothing
      here withdraws it.

  * All releases after v0.1.0-mit
      GNU Affero General Public License, version 3 or later (AGPL-3.0-or-later).
      See LICENSE.

The boundary is the annotated git tag `v0.1.0-mit` (commit dda8615).

COMMERCIAL LICENSING
====================

The AGPL requires that anything you distribute or serve which incorporates
this software is itself offered under the AGPL, including any bundle that
embeds it.

If that does not work for your product, a commercial license is available
which removes the copyleft obligation.

  Contact: legal@ginexys.com

THIRD-PARTY COMPONENTS
======================

  pdfjs-dist      Apache License 2.0
  katex           MIT
  pdf-lib         MIT
  tesseract.js    Apache License 2.0
  onnxruntime-web MIT
  dompurify       Apache-2.0 OR MPL-2.0
  monaco-editor   MIT

Their respective licenses apply to those components.

BUNDLED MODEL WEIGHTS
=====================

  PP-OCRv5 mobile ONNX models (public/models/ppocr/: det.onnx, rec.onnx,
  cls.onnx, charset.txt) originate from PaddleOCR
  (https://github.com/PaddlePaddle/PaddleOCR), Apache License 2.0, and are
  obtained via the third-party ONNX export at
  https://huggingface.co/bukuroo/PPOCRv5-ONNX (PaddlePaddle publishes
  Paddle-format weights, not ONNX). Redistributed under the Apache License 2.0.

  DocForensics-Layout-S (public/models/docforensics-layout-s.onnx) is
  published by Ginexys, a d/b/a of Canworks, LLC, at
  https://huggingface.co/ginexys/docforensics-layout and is dual-licensed:
  AGPL-3.0-or-later, or a commercial licence that removes the copyleft
  obligation. See that repository's LICENSE.md.

  The weights carry no third-party copyleft: the backbone is initialised
  from timm lcnet_100 (Apache-2.0) and the corpus is CDLA-Permissive-1.0
  plus public-domain material.

  The YOLOv8n-DocLayNet detector previously shipped here has been removed.
  It derived from Ultralytics YOLOv8 (AGPL-3.0), which is the encumbrance
  DocForensics-Layout-S was trained to replace, and it is no longer distributed
  with this tool.

  Tesseract language data, when used, is distributed under the Apache
  License 2.0 by the tesseract-ocr project.
