kordoc 4.4.1 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/NOTICE +176 -176
- package/README.md +958 -942
- package/THIRD_PARTY/apache-2.0.LICENSE +201 -201
- package/THIRD_PARTY/claw-hwp.LICENSE +21 -21
- package/THIRD_PARTY/hml-equation-parser.LICENSE +201 -201
- package/THIRD_PARTY/hml-equation-parser.txt +35 -35
- package/THIRD_PARTY/opendataloader-pdf.txt +32 -32
- package/THIRD_PARTY/pix2text.txt +17 -17
- package/THIRD_PARTY/rhwp-forms.txt +35 -35
- package/dist/{-7X4H77Z7.js → -DEVLQKIT.js} +12 -12
- package/dist/{chunk-TGAWXMXB.js → chunk-2CABQYTT.js} +23 -12
- package/dist/chunk-2CABQYTT.js.map +1 -0
- package/dist/{chunk-5A2TGIN7.js → chunk-2CENWSAW.js} +10 -10
- package/dist/chunk-2CENWSAW.js.map +1 -0
- package/dist/{chunk-3H5X63BQ.js → chunk-3FFPHTXD.js} +1 -1
- package/dist/chunk-3FFPHTXD.js.map +1 -0
- package/dist/{chunk-MOL7MDBG.js → chunk-3TBUDJDE.js} +1 -1
- package/dist/chunk-3TBUDJDE.js.map +1 -0
- package/dist/{chunk-5RPYBC2Q.js → chunk-6GBLFQMA.js} +1 -1
- package/dist/chunk-6GBLFQMA.js.map +1 -0
- package/dist/{chunk-GZDOWYJM.js → chunk-6XPXIG57.js} +2 -2
- package/dist/chunk-6XPXIG57.js.map +1 -0
- package/dist/{chunk-2352RXHG.js → chunk-7BTO44Q7.js} +337 -87
- package/dist/chunk-7BTO44Q7.js.map +1 -0
- package/dist/{chunk-GE43BE46.js → chunk-AIQ3ISQU.js} +1 -1
- package/dist/chunk-AIQ3ISQU.js.map +1 -0
- package/dist/{chunk-GC7WBHAN.cjs → chunk-CARNWWGI.cjs} +4 -4
- package/dist/chunk-CARNWWGI.cjs.map +1 -0
- package/dist/chunk-GS7T56RP.cjs.map +1 -1
- package/dist/{chunk-FR65WNLF.cjs → chunk-HPRGVU6A.cjs} +25 -14
- package/dist/chunk-HPRGVU6A.cjs.map +1 -0
- package/dist/{chunk-3DX6VJGH.cjs → chunk-I42DND3B.cjs} +17 -17
- package/dist/chunk-I42DND3B.cjs.map +1 -0
- package/dist/{chunk-SMPEZINI.js → chunk-IBVMJIHR.js} +2 -2
- package/dist/chunk-IBVMJIHR.js.map +1 -0
- package/dist/{chunk-UA53AA7R.js → chunk-IHK5LCYX.js} +2 -2
- package/dist/chunk-IHK5LCYX.js.map +1 -0
- package/dist/{chunk-JGHQFUKI.js → chunk-KC63W72C.js} +2 -2
- package/dist/chunk-KC63W72C.js.map +1 -0
- package/dist/{chunk-NUGTEPKT.js → chunk-KQOTL4WI.js} +2 -2
- package/dist/chunk-KQOTL4WI.js.map +1 -0
- package/dist/{chunk-ZV5OKQ3Z.cjs → chunk-MGGU3ZRK.cjs} +1 -1
- package/dist/chunk-MGGU3ZRK.cjs.map +1 -0
- package/dist/{chunk-AYM6UHFX.js → chunk-MSMSHU2F.js} +23 -12
- package/dist/chunk-MSMSHU2F.js.map +1 -0
- package/dist/{chunk-DZIXKL7E.js → chunk-O5EK52TG.js} +1 -1
- package/dist/chunk-O5EK52TG.js.map +1 -0
- package/dist/{chunk-IPOVUGXD.js → chunk-OPL22SYF.js} +3 -3
- package/dist/chunk-OPL22SYF.js.map +1 -0
- package/dist/{chunk-HGSO2H44.js → chunk-PQDNCWAZ.js} +11 -11
- package/dist/chunk-PQDNCWAZ.js.map +1 -0
- package/dist/{chunk-A73RMJ6B.js → chunk-PSAHY5XW.js} +1 -1
- package/dist/chunk-PSAHY5XW.js.map +1 -0
- package/dist/{chunk-T25FBUMN.js → chunk-UGKXJA3W.js} +4 -3
- package/dist/chunk-UGKXJA3W.js.map +1 -0
- package/dist/{chunk-5PXCA3DN.js → chunk-UQ4NSK66.js} +3 -3
- package/dist/chunk-UQ4NSK66.js.map +1 -0
- package/dist/{chunk-7MDLAKVO.js → chunk-VNEV6VKD.js} +2 -2
- package/dist/chunk-VNEV6VKD.js.map +1 -0
- package/dist/{chunk-7FCNOKOR.js → chunk-W34QSJFF.js} +1 -1
- package/dist/chunk-W34QSJFF.js.map +1 -0
- package/dist/{chunk-7BIVNIK5.cjs → chunk-WX7WQTOT.cjs} +4 -3
- package/dist/chunk-WX7WQTOT.cjs.map +1 -0
- package/dist/{chunk-DCZVOIEO.cjs → chunk-X34YWRL5.cjs} +1 -1
- package/dist/chunk-X34YWRL5.cjs.map +1 -0
- package/dist/{chunk-UAFSPWU7.js → chunk-YNJDNP44.js} +1 -1
- package/dist/chunk-YNJDNP44.js.map +1 -0
- package/dist/{chunk-WA7XLWZW.js → chunk-ZYQ5X6PG.js} +4 -3
- package/dist/chunk-ZYQ5X6PG.js.map +1 -0
- package/dist/chunks-Y2VE2WCJ.js +10 -0
- package/dist/cli.js +91 -31
- package/dist/cli.js.map +1 -1
- package/dist/{formula-JLYS73QL.js → formula-ETB6MESN.js} +2 -2
- package/dist/formula-ETB6MESN.js.map +1 -0
- package/dist/{formula-LIVQSCMM.js → formula-KW4NI5IO.js} +2 -2
- package/dist/formula-KW4NI5IO.js.map +1 -0
- package/dist/{formula-CG4S7TWO.cjs → formula-WKGP3D3Y.cjs} +8 -8
- package/dist/formula-WKGP3D3Y.cjs.map +1 -0
- package/dist/{image-ocr-AHHY42OI.js → image-ocr-C6U7YHRC.js} +15 -7
- package/dist/image-ocr-C6U7YHRC.js.map +1 -0
- package/dist/{image-ocr-K4XCRBTY.js → image-ocr-YIBJCOUQ.js} +17 -9
- package/dist/image-ocr-YIBJCOUQ.js.map +1 -0
- package/dist/{image-ocr-VCXLT5Q6.cjs → image-ocr-YID6TDN5.cjs} +20 -12
- package/dist/image-ocr-YID6TDN5.cjs.map +1 -0
- package/dist/index.cjs +676 -426
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +55 -3
- package/dist/index.d.ts +55 -3
- package/dist/index.js +331 -81
- package/dist/index.js.map +1 -1
- package/dist/mcp.js +61 -28
- package/dist/mcp.js.map +1 -1
- package/dist/{models-6SIKLKRH.js → models-6VMAVZR6.js} +3 -3
- package/dist/page-range-CIRRJPXJ.js +7 -0
- package/dist/page-range-OF5I4PQY.js +8 -0
- package/dist/page-range-TPIRSA3J.cjs +8 -0
- package/dist/page-range-TPIRSA3J.cjs.map +1 -0
- package/dist/{parser-ABYM2MVN.cjs → parser-EYCVDUJA.cjs} +33 -33
- package/dist/parser-EYCVDUJA.cjs.map +1 -0
- package/dist/{parser-I3ELUUOG.js → parser-GFXZV2VJ.js} +11 -11
- package/dist/parser-GFXZV2VJ.js.map +1 -0
- package/dist/{parser-IPVY56U3.js → parser-SHM3JEH6.js} +9 -9
- package/dist/parser-SHM3JEH6.js.map +1 -0
- package/dist/pdf-ocr-TMAWPOHC.cjs +13 -0
- package/dist/pdf-ocr-TMAWPOHC.cjs.map +1 -0
- package/dist/pdf-ocr-UKFYODLP.js +15 -0
- package/dist/pdf-ocr-ZG4UVUIT.js +12 -0
- package/dist/{profile-io-YADU6SKH.js → profile-io-FQZNNA3O.js} +3 -3
- package/dist/{rasterize-YV5VDSQX.js → rasterize-QGKFNTXO.js} +2 -2
- package/dist/rasterize-QGKFNTXO.js.map +1 -0
- package/dist/{redact-7ILEAUTS.js → redact-W5K3ILQH.js} +2 -2
- package/dist/render-YFIWQYVB.js +10 -0
- package/dist/seal-GZ7NDWLR.js +10 -0
- package/dist/{setup-GUQT5ELJ.js → setup-I4I75QJU.js} +1 -1
- package/dist/setup-I4I75QJU.js.map +1 -0
- package/dist/{watch-5K2ZERXI.js → watch-OIVXH2RN.js} +12 -12
- package/dist/watch-OIVXH2RN.js.map +1 -0
- package/package.json +103 -103
- package/templates//352/260/204/354/235/264/352/270/260/354/225/210/353/254/270_/354/230/210/354/213/234/352/260/222.json +9 -9
- package/templates//354/235/274/353/260/230/352/270/260/354/225/210/353/254/270_/354/230/210/354/213/234/352/260/222.json +24 -24
- package/dist/chunk-2352RXHG.js.map +0 -1
- package/dist/chunk-3DX6VJGH.cjs.map +0 -1
- package/dist/chunk-3H5X63BQ.js.map +0 -1
- package/dist/chunk-5A2TGIN7.js.map +0 -1
- package/dist/chunk-5PXCA3DN.js.map +0 -1
- package/dist/chunk-5RPYBC2Q.js.map +0 -1
- package/dist/chunk-7BIVNIK5.cjs.map +0 -1
- package/dist/chunk-7FCNOKOR.js.map +0 -1
- package/dist/chunk-7MDLAKVO.js.map +0 -1
- package/dist/chunk-A73RMJ6B.js.map +0 -1
- package/dist/chunk-AYM6UHFX.js.map +0 -1
- package/dist/chunk-DCZVOIEO.cjs.map +0 -1
- package/dist/chunk-DZIXKL7E.js.map +0 -1
- package/dist/chunk-FR65WNLF.cjs.map +0 -1
- package/dist/chunk-GC7WBHAN.cjs.map +0 -1
- package/dist/chunk-GE43BE46.js.map +0 -1
- package/dist/chunk-GZDOWYJM.js.map +0 -1
- package/dist/chunk-HGSO2H44.js.map +0 -1
- package/dist/chunk-IPOVUGXD.js.map +0 -1
- package/dist/chunk-JGHQFUKI.js.map +0 -1
- package/dist/chunk-MOL7MDBG.js.map +0 -1
- package/dist/chunk-NUGTEPKT.js.map +0 -1
- package/dist/chunk-SMPEZINI.js.map +0 -1
- package/dist/chunk-T25FBUMN.js.map +0 -1
- package/dist/chunk-TGAWXMXB.js.map +0 -1
- package/dist/chunk-UA53AA7R.js.map +0 -1
- package/dist/chunk-UAFSPWU7.js.map +0 -1
- package/dist/chunk-WA7XLWZW.js.map +0 -1
- package/dist/chunk-ZV5OKQ3Z.cjs.map +0 -1
- package/dist/chunks-FMZK4QHL.js +0 -10
- package/dist/formula-CG4S7TWO.cjs.map +0 -1
- package/dist/formula-JLYS73QL.js.map +0 -1
- package/dist/formula-LIVQSCMM.js.map +0 -1
- package/dist/image-ocr-AHHY42OI.js.map +0 -1
- package/dist/image-ocr-K4XCRBTY.js.map +0 -1
- package/dist/image-ocr-VCXLT5Q6.cjs.map +0 -1
- package/dist/page-range-737B4EZW.js +0 -8
- package/dist/page-range-LNMXJU6W.js +0 -7
- package/dist/page-range-P7SDW6LR.cjs +0 -8
- package/dist/page-range-P7SDW6LR.cjs.map +0 -1
- package/dist/parser-ABYM2MVN.cjs.map +0 -1
- package/dist/parser-I3ELUUOG.js.map +0 -1
- package/dist/parser-IPVY56U3.js.map +0 -1
- package/dist/pdf-ocr-EL3VSWWY.js +0 -12
- package/dist/pdf-ocr-FVLKQNAT.js +0 -15
- package/dist/pdf-ocr-VQ3QWXGE.cjs +0 -13
- package/dist/pdf-ocr-VQ3QWXGE.cjs.map +0 -1
- package/dist/rasterize-YV5VDSQX.js.map +0 -1
- package/dist/render-K6M3P24X.js +0 -10
- package/dist/seal-YW3U5BCY.js +0 -10
- package/dist/setup-GUQT5ELJ.js.map +0 -1
- package/dist/watch-5K2ZERXI.js.map +0 -1
- /package/dist/{-7X4H77Z7.js.map → -DEVLQKIT.js.map} +0 -0
- /package/dist/{chunks-FMZK4QHL.js.map → chunks-Y2VE2WCJ.js.map} +0 -0
- /package/dist/{models-6SIKLKRH.js.map → models-6VMAVZR6.js.map} +0 -0
- /package/dist/{page-range-737B4EZW.js.map → page-range-CIRRJPXJ.js.map} +0 -0
- /package/dist/{page-range-LNMXJU6W.js.map → page-range-OF5I4PQY.js.map} +0 -0
- /package/dist/{pdf-ocr-EL3VSWWY.js.map → pdf-ocr-UKFYODLP.js.map} +0 -0
- /package/dist/{pdf-ocr-FVLKQNAT.js.map → pdf-ocr-ZG4UVUIT.js.map} +0 -0
- /package/dist/{profile-io-YADU6SKH.js.map → profile-io-FQZNNA3O.js.map} +0 -0
- /package/dist/{redact-7ILEAUTS.js.map → redact-W5K3ILQH.js.map} +0 -0
- /package/dist/{render-K6M3P24X.js.map → render-YFIWQYVB.js.map} +0 -0
- /package/dist/{seal-YW3U5BCY.js.map → seal-GZ7NDWLR.js.map} +0 -0
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 chrisryugj
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 chrisryugj
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/NOTICE
CHANGED
|
@@ -1,176 +1,176 @@
|
|
|
1
|
-
kordoc
|
|
2
|
-
Copyright 2026 chrisryugj
|
|
3
|
-
Licensed under the MIT License
|
|
4
|
-
|
|
5
|
-
This project includes code derived from the following third-party works:
|
|
6
|
-
|
|
7
|
-
================================================================================
|
|
8
|
-
|
|
9
|
-
OpenDataLoader PDF (opendataloader-pdf)
|
|
10
|
-
https://github.com/opendataloader-project/opendataloader-pdf
|
|
11
|
-
|
|
12
|
-
Copyright 2025-2026 Hancom, Inc.
|
|
13
|
-
Licensed under the Apache License, Version 2.0
|
|
14
|
-
|
|
15
|
-
Used in:
|
|
16
|
-
- src/pdf/line-detector.ts — TableBorderBuilder algorithm (line-based table
|
|
17
|
-
detection via PDF graphics commands, grid construction from line intersections)
|
|
18
|
-
- src/pdf/cluster-detector.ts — ClusterTableConsumer algorithm (cluster-based
|
|
19
|
-
borderless table detection via text alignment patterns)
|
|
20
|
-
|
|
21
|
-
Modifications:
|
|
22
|
-
- TypeScript rewrite from Java/Kotlin
|
|
23
|
-
- pdfjs-dist v4/v5 compatibility layer
|
|
24
|
-
- Korean PDF-specific optimizations (character spacing, cell text merging)
|
|
25
|
-
|
|
26
|
-
You may obtain a copy of the Apache License at:
|
|
27
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
28
|
-
|
|
29
|
-
================================================================================
|
|
30
|
-
|
|
31
|
-
hml-equation-parser
|
|
32
|
-
https://github.com/OpenBapul/hml-equation-parser
|
|
33
|
-
|
|
34
|
-
Copyright 2018 Open Bapul
|
|
35
|
-
Licensed under the Apache License, Version 2.0
|
|
36
|
-
|
|
37
|
-
Used in:
|
|
38
|
-
- src/hwpx/equation.ts — hmlToLatex() (HULK-style HWPX equation script →
|
|
39
|
-
LaTeX) derived from hulkEqParser.py and hulkReplaceMethod.py
|
|
40
|
-
|
|
41
|
-
Modifications:
|
|
42
|
-
- TypeScript rewrite from Python 3
|
|
43
|
-
- Inlined convertMap.json as TS constants
|
|
44
|
-
- Graceful error handling so failed conversion drops the equation rather
|
|
45
|
-
than leaking the HWP alt-text ("수식입니다") through the document
|
|
46
|
-
|
|
47
|
-
See THIRD_PARTY/hml-equation-parser.LICENSE for the full license text.
|
|
48
|
-
|
|
49
|
-
You may obtain a copy of the Apache License at:
|
|
50
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
51
|
-
|
|
52
|
-
================================================================================
|
|
53
|
-
|
|
54
|
-
cfb (Compound File Binary)
|
|
55
|
-
https://github.com/SheetJS/js-cfb
|
|
56
|
-
|
|
57
|
-
Copyright 2013-present SheetJS LLC
|
|
58
|
-
Licensed under the Apache License, Version 2.0
|
|
59
|
-
|
|
60
|
-
Used as a dependency for HWP 5.x OLE2 container parsing.
|
|
61
|
-
No modifications — used as a bundled npm package.
|
|
62
|
-
|
|
63
|
-
================================================================================
|
|
64
|
-
|
|
65
|
-
pdfjs-dist (PDF.js)
|
|
66
|
-
https://github.com/mozilla/pdf.js
|
|
67
|
-
|
|
68
|
-
Copyright Mozilla Foundation
|
|
69
|
-
Licensed under the Apache License, Version 2.0
|
|
70
|
-
|
|
71
|
-
Used as an optional peer dependency for PDF text extraction.
|
|
72
|
-
No modifications — used as an npm package.
|
|
73
|
-
|
|
74
|
-
================================================================================
|
|
75
|
-
|
|
76
|
-
JSZip
|
|
77
|
-
https://github.com/Stuk/jszip
|
|
78
|
-
|
|
79
|
-
Copyright 2009-2016 Stuart Knightley, David Duponchel, Franz Buchinger, Antonio Afonso
|
|
80
|
-
Dual-licensed under the MIT License OR GPL-3.0-or-later
|
|
81
|
-
This project uses JSZip under the MIT License.
|
|
82
|
-
|
|
83
|
-
Used for ZIP-based format parsing (HWPX, XLSX, DOCX).
|
|
84
|
-
No modifications — used as an npm package.
|
|
85
|
-
|
|
86
|
-
================================================================================
|
|
87
|
-
|
|
88
|
-
rhwp
|
|
89
|
-
https://github.com/edwardkim/rhwp
|
|
90
|
-
|
|
91
|
-
Copyright edwardkim
|
|
92
|
-
Licensed under the MIT License
|
|
93
|
-
|
|
94
|
-
Used in:
|
|
95
|
-
- src/hwp5/cfb-lenient.ts — LenientCfbReader algorithm (FAT/directory/mini-stream
|
|
96
|
-
parsing for corrupted CFB containers)
|
|
97
|
-
- src/hwp5/crypto.ts — Distribution document decryption algorithm (AES key
|
|
98
|
-
extraction from MSVC LCG-scrambled payload)
|
|
99
|
-
|
|
100
|
-
Modifications:
|
|
101
|
-
- TypeScript rewrite from Rust
|
|
102
|
-
- Added sector size validation, chain length limits, and cycle detection
|
|
103
|
-
- Pure JS AES-128 ECB implementation (no native dependency)
|
|
104
|
-
|
|
105
|
-
================================================================================
|
|
106
|
-
|
|
107
|
-
Pix2Text — Mathematical Formula Detection & Recognition
|
|
108
|
-
https://github.com/breezedeus/Pix2Text
|
|
109
|
-
|
|
110
|
-
Copyright 2023-2024 breezedeus
|
|
111
|
-
MFD (Mathematical Formula Detection): trained on Ultralytics YOLOv8 — MFD model
|
|
112
|
-
weights themselves are distributed under MIT via the HuggingFace repository
|
|
113
|
-
`breezedeus/pix2text-mfd`, but the underlying YOLOv8 architecture carries an
|
|
114
|
-
AGPL-3.0 license from Ultralytics. Users distributing derivative works built on
|
|
115
|
-
MFD outputs should review Ultralytics' licensing terms.
|
|
116
|
-
MFR (Mathematical Formula Recognition): HuggingFace `breezedeus/pix2text-mfr`,
|
|
117
|
-
MIT License.
|
|
118
|
-
|
|
119
|
-
Used in:
|
|
120
|
-
- src/pdf/formula/detector.ts — YOLOv8 letterbox preprocessing, NMS post-processing
|
|
121
|
-
- src/pdf/formula/recognizer.ts — DeiT encoder + TrOCR decoder greedy decoding
|
|
122
|
-
- src/pdf/formula/postprocess.ts — LaTeX output cleanup (derived from Pix2Text
|
|
123
|
-
`latex_ocr.py` post_process)
|
|
124
|
-
|
|
125
|
-
Models are downloaded at runtime from HuggingFace with SHA-256 verification.
|
|
126
|
-
No model weights are redistributed with this package. Algorithm implementations
|
|
127
|
-
are original TypeScript ports referencing the Pix2Text algorithm descriptions.
|
|
128
|
-
|
|
129
|
-
You may obtain a copy of the MIT License at:
|
|
130
|
-
https://opensource.org/licenses/MIT
|
|
131
|
-
|
|
132
|
-
================================================================================
|
|
133
|
-
|
|
134
|
-
PaddleOCR / PP-OCRv5 — Text Detection & Recognition Models
|
|
135
|
-
https://github.com/PaddlePaddle/PaddleOCR
|
|
136
|
-
|
|
137
|
-
Copyright PaddlePaddle Authors
|
|
138
|
-
Licensed under the Apache License, Version 2.0
|
|
139
|
-
|
|
140
|
-
Model weights (ONNX conversions, downloaded at runtime with SHA-256 verification,
|
|
141
|
-
not redistributed with this package):
|
|
142
|
-
- PP-OCRv5_mobile_det (HuggingFace `PaddlePaddle/PP-OCRv5_mobile_det_onnx`)
|
|
143
|
-
- korean_PP-OCRv5_mobile_rec + character dictionary
|
|
144
|
-
(HuggingFace `PaddlePaddle/korean_PP-OCRv5_mobile_rec_onnx`)
|
|
145
|
-
|
|
146
|
-
Used in:
|
|
147
|
-
- src/ocr/engine.ts — DBNet det pre/post-processing (resize_long 960, thresh/
|
|
148
|
-
box_thresh/unclip per official inference.yml; DB unclip approximated with
|
|
149
|
-
axis-aligned component boxes) + CTC greedy decoding, following the PaddleOCR
|
|
150
|
-
inference operator specifications. Original TypeScript implementation.
|
|
151
|
-
- src/ocr/models.ts — model specs + inference.yml character_dict parser
|
|
152
|
-
|
|
153
|
-
You may obtain a copy of the Apache License 2.0 at:
|
|
154
|
-
https://www.apache.org/licenses/LICENSE-2.0
|
|
155
|
-
|
|
156
|
-
================================================================================
|
|
157
|
-
|
|
158
|
-
claw-hwp
|
|
159
|
-
https://github.com/DoHyun468/claw-hwp
|
|
160
|
-
|
|
161
|
-
Copyright (c) 2026 DoHyun468
|
|
162
|
-
Licensed under the MIT License
|
|
163
|
-
|
|
164
|
-
Used in:
|
|
165
|
-
- src/hwpx/chart-gen.ts — OOXML chartSpace 조립(buildChartSpace)·차트 타입 20종
|
|
166
|
-
테이블·계열/축/색 XML 생성을 hwpx-edit.js에서 TS로 이식 (한컴독스 GT 검증 구현)
|
|
167
|
-
- src/form/seal.ts — 도장 부유 배치의 폰트 메트릭 위치 산정(전각/반각 em 폭,
|
|
168
|
-
정렬 이동 보정)과 부유 개체 속성 규칙(treatAsChar=0 + flowWithText=0 +
|
|
169
|
-
allowOverlap=1)을 cell-patch.js placeSealInPlace에서 이식
|
|
170
|
-
- src/form/match.ts — secure-fill 포맷엔진과 require_occurrence 규칙 이식
|
|
171
|
-
- src/validate.ts — validate.py 의 실측 검사셋 이식
|
|
172
|
-
|
|
173
|
-
라이선스 전문: THIRD_PARTY/claw-hwp.LICENSE
|
|
174
|
-
|
|
175
|
-
You may obtain a copy of the MIT License at:
|
|
176
|
-
https://opensource.org/licenses/MIT
|
|
1
|
+
kordoc
|
|
2
|
+
Copyright 2026 chrisryugj
|
|
3
|
+
Licensed under the MIT License
|
|
4
|
+
|
|
5
|
+
This project includes code derived from the following third-party works:
|
|
6
|
+
|
|
7
|
+
================================================================================
|
|
8
|
+
|
|
9
|
+
OpenDataLoader PDF (opendataloader-pdf)
|
|
10
|
+
https://github.com/opendataloader-project/opendataloader-pdf
|
|
11
|
+
|
|
12
|
+
Copyright 2025-2026 Hancom, Inc.
|
|
13
|
+
Licensed under the Apache License, Version 2.0
|
|
14
|
+
|
|
15
|
+
Used in:
|
|
16
|
+
- src/pdf/line-detector.ts — TableBorderBuilder algorithm (line-based table
|
|
17
|
+
detection via PDF graphics commands, grid construction from line intersections)
|
|
18
|
+
- src/pdf/cluster-detector.ts — ClusterTableConsumer algorithm (cluster-based
|
|
19
|
+
borderless table detection via text alignment patterns)
|
|
20
|
+
|
|
21
|
+
Modifications:
|
|
22
|
+
- TypeScript rewrite from Java/Kotlin
|
|
23
|
+
- pdfjs-dist v4/v5 compatibility layer
|
|
24
|
+
- Korean PDF-specific optimizations (character spacing, cell text merging)
|
|
25
|
+
|
|
26
|
+
You may obtain a copy of the Apache License at:
|
|
27
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
28
|
+
|
|
29
|
+
================================================================================
|
|
30
|
+
|
|
31
|
+
hml-equation-parser
|
|
32
|
+
https://github.com/OpenBapul/hml-equation-parser
|
|
33
|
+
|
|
34
|
+
Copyright 2018 Open Bapul
|
|
35
|
+
Licensed under the Apache License, Version 2.0
|
|
36
|
+
|
|
37
|
+
Used in:
|
|
38
|
+
- src/hwpx/equation.ts — hmlToLatex() (HULK-style HWPX equation script →
|
|
39
|
+
LaTeX) derived from hulkEqParser.py and hulkReplaceMethod.py
|
|
40
|
+
|
|
41
|
+
Modifications:
|
|
42
|
+
- TypeScript rewrite from Python 3
|
|
43
|
+
- Inlined convertMap.json as TS constants
|
|
44
|
+
- Graceful error handling so failed conversion drops the equation rather
|
|
45
|
+
than leaking the HWP alt-text ("수식입니다") through the document
|
|
46
|
+
|
|
47
|
+
See THIRD_PARTY/hml-equation-parser.LICENSE for the full license text.
|
|
48
|
+
|
|
49
|
+
You may obtain a copy of the Apache License at:
|
|
50
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
51
|
+
|
|
52
|
+
================================================================================
|
|
53
|
+
|
|
54
|
+
cfb (Compound File Binary)
|
|
55
|
+
https://github.com/SheetJS/js-cfb
|
|
56
|
+
|
|
57
|
+
Copyright 2013-present SheetJS LLC
|
|
58
|
+
Licensed under the Apache License, Version 2.0
|
|
59
|
+
|
|
60
|
+
Used as a dependency for HWP 5.x OLE2 container parsing.
|
|
61
|
+
No modifications — used as a bundled npm package.
|
|
62
|
+
|
|
63
|
+
================================================================================
|
|
64
|
+
|
|
65
|
+
pdfjs-dist (PDF.js)
|
|
66
|
+
https://github.com/mozilla/pdf.js
|
|
67
|
+
|
|
68
|
+
Copyright Mozilla Foundation
|
|
69
|
+
Licensed under the Apache License, Version 2.0
|
|
70
|
+
|
|
71
|
+
Used as an optional peer dependency for PDF text extraction.
|
|
72
|
+
No modifications — used as an npm package.
|
|
73
|
+
|
|
74
|
+
================================================================================
|
|
75
|
+
|
|
76
|
+
JSZip
|
|
77
|
+
https://github.com/Stuk/jszip
|
|
78
|
+
|
|
79
|
+
Copyright 2009-2016 Stuart Knightley, David Duponchel, Franz Buchinger, Antonio Afonso
|
|
80
|
+
Dual-licensed under the MIT License OR GPL-3.0-or-later
|
|
81
|
+
This project uses JSZip under the MIT License.
|
|
82
|
+
|
|
83
|
+
Used for ZIP-based format parsing (HWPX, XLSX, DOCX).
|
|
84
|
+
No modifications — used as an npm package.
|
|
85
|
+
|
|
86
|
+
================================================================================
|
|
87
|
+
|
|
88
|
+
rhwp
|
|
89
|
+
https://github.com/edwardkim/rhwp
|
|
90
|
+
|
|
91
|
+
Copyright edwardkim
|
|
92
|
+
Licensed under the MIT License
|
|
93
|
+
|
|
94
|
+
Used in:
|
|
95
|
+
- src/hwp5/cfb-lenient.ts — LenientCfbReader algorithm (FAT/directory/mini-stream
|
|
96
|
+
parsing for corrupted CFB containers)
|
|
97
|
+
- src/hwp5/crypto.ts — Distribution document decryption algorithm (AES key
|
|
98
|
+
extraction from MSVC LCG-scrambled payload)
|
|
99
|
+
|
|
100
|
+
Modifications:
|
|
101
|
+
- TypeScript rewrite from Rust
|
|
102
|
+
- Added sector size validation, chain length limits, and cycle detection
|
|
103
|
+
- Pure JS AES-128 ECB implementation (no native dependency)
|
|
104
|
+
|
|
105
|
+
================================================================================
|
|
106
|
+
|
|
107
|
+
Pix2Text — Mathematical Formula Detection & Recognition
|
|
108
|
+
https://github.com/breezedeus/Pix2Text
|
|
109
|
+
|
|
110
|
+
Copyright 2023-2024 breezedeus
|
|
111
|
+
MFD (Mathematical Formula Detection): trained on Ultralytics YOLOv8 — MFD model
|
|
112
|
+
weights themselves are distributed under MIT via the HuggingFace repository
|
|
113
|
+
`breezedeus/pix2text-mfd`, but the underlying YOLOv8 architecture carries an
|
|
114
|
+
AGPL-3.0 license from Ultralytics. Users distributing derivative works built on
|
|
115
|
+
MFD outputs should review Ultralytics' licensing terms.
|
|
116
|
+
MFR (Mathematical Formula Recognition): HuggingFace `breezedeus/pix2text-mfr`,
|
|
117
|
+
MIT License.
|
|
118
|
+
|
|
119
|
+
Used in:
|
|
120
|
+
- src/pdf/formula/detector.ts — YOLOv8 letterbox preprocessing, NMS post-processing
|
|
121
|
+
- src/pdf/formula/recognizer.ts — DeiT encoder + TrOCR decoder greedy decoding
|
|
122
|
+
- src/pdf/formula/postprocess.ts — LaTeX output cleanup (derived from Pix2Text
|
|
123
|
+
`latex_ocr.py` post_process)
|
|
124
|
+
|
|
125
|
+
Models are downloaded at runtime from HuggingFace with SHA-256 verification.
|
|
126
|
+
No model weights are redistributed with this package. Algorithm implementations
|
|
127
|
+
are original TypeScript ports referencing the Pix2Text algorithm descriptions.
|
|
128
|
+
|
|
129
|
+
You may obtain a copy of the MIT License at:
|
|
130
|
+
https://opensource.org/licenses/MIT
|
|
131
|
+
|
|
132
|
+
================================================================================
|
|
133
|
+
|
|
134
|
+
PaddleOCR / PP-OCRv5 — Text Detection & Recognition Models
|
|
135
|
+
https://github.com/PaddlePaddle/PaddleOCR
|
|
136
|
+
|
|
137
|
+
Copyright PaddlePaddle Authors
|
|
138
|
+
Licensed under the Apache License, Version 2.0
|
|
139
|
+
|
|
140
|
+
Model weights (ONNX conversions, downloaded at runtime with SHA-256 verification,
|
|
141
|
+
not redistributed with this package):
|
|
142
|
+
- PP-OCRv5_mobile_det (HuggingFace `PaddlePaddle/PP-OCRv5_mobile_det_onnx`)
|
|
143
|
+
- korean_PP-OCRv5_mobile_rec + character dictionary
|
|
144
|
+
(HuggingFace `PaddlePaddle/korean_PP-OCRv5_mobile_rec_onnx`)
|
|
145
|
+
|
|
146
|
+
Used in:
|
|
147
|
+
- src/ocr/engine.ts — DBNet det pre/post-processing (resize_long 960, thresh/
|
|
148
|
+
box_thresh/unclip per official inference.yml; DB unclip approximated with
|
|
149
|
+
axis-aligned component boxes) + CTC greedy decoding, following the PaddleOCR
|
|
150
|
+
inference operator specifications. Original TypeScript implementation.
|
|
151
|
+
- src/ocr/models.ts — model specs + inference.yml character_dict parser
|
|
152
|
+
|
|
153
|
+
You may obtain a copy of the Apache License 2.0 at:
|
|
154
|
+
https://www.apache.org/licenses/LICENSE-2.0
|
|
155
|
+
|
|
156
|
+
================================================================================
|
|
157
|
+
|
|
158
|
+
claw-hwp
|
|
159
|
+
https://github.com/DoHyun468/claw-hwp
|
|
160
|
+
|
|
161
|
+
Copyright (c) 2026 DoHyun468
|
|
162
|
+
Licensed under the MIT License
|
|
163
|
+
|
|
164
|
+
Used in:
|
|
165
|
+
- src/hwpx/chart-gen.ts — OOXML chartSpace 조립(buildChartSpace)·차트 타입 20종
|
|
166
|
+
테이블·계열/축/색 XML 생성을 hwpx-edit.js에서 TS로 이식 (한컴독스 GT 검증 구현)
|
|
167
|
+
- src/form/seal.ts — 도장 부유 배치의 폰트 메트릭 위치 산정(전각/반각 em 폭,
|
|
168
|
+
정렬 이동 보정)과 부유 개체 속성 규칙(treatAsChar=0 + flowWithText=0 +
|
|
169
|
+
allowOverlap=1)을 cell-patch.js placeSealInPlace에서 이식
|
|
170
|
+
- src/form/match.ts — secure-fill 포맷엔진과 require_occurrence 규칙 이식
|
|
171
|
+
- src/validate.ts — validate.py 의 실측 검사셋 이식
|
|
172
|
+
|
|
173
|
+
라이선스 전문: THIRD_PARTY/claw-hwp.LICENSE
|
|
174
|
+
|
|
175
|
+
You may obtain a copy of the MIT License at:
|
|
176
|
+
https://opensource.org/licenses/MIT
|