@heripo/model 0.1.27 → 0.1.28
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/README.ko.md +0 -1
- package/README.md +0 -1
- package/dist/index.d.cts +1 -3
- package/dist/index.d.ts +1 -3
- package/package.json +3 -3
package/README.ko.md
CHANGED
package/README.md
CHANGED
|
@@ -228,7 +228,6 @@ interface OcrStrategy {
|
|
|
228
228
|
reason: string; // Reason for strategy selection
|
|
229
229
|
sampledPages: number; // Number of sampled pages
|
|
230
230
|
totalPages: number; // Total pages in document
|
|
231
|
-
koreanHanjaMixPages?: number[]; // Pages with Korean-Hanja mixed script
|
|
232
231
|
}
|
|
233
232
|
```
|
|
234
233
|
|
package/dist/index.d.cts
CHANGED
|
@@ -741,7 +741,7 @@ interface DocumentProcessResult {
|
|
|
741
741
|
/**
|
|
742
742
|
* Result of the OCR strategy sampling phase.
|
|
743
743
|
* Determines whether to use ocrmac (standard Docling pipeline)
|
|
744
|
-
* or VLM
|
|
744
|
+
* or VLM text correction for a given document.
|
|
745
745
|
*/
|
|
746
746
|
interface OcrStrategy {
|
|
747
747
|
/** Selected OCR method */
|
|
@@ -756,8 +756,6 @@ interface OcrStrategy {
|
|
|
756
756
|
sampledPages: number;
|
|
757
757
|
/** Total number of pages in the document */
|
|
758
758
|
totalPages: number;
|
|
759
|
-
/** 1-based page numbers where Korean-Hanja mixed script was detected in text layer */
|
|
760
|
-
koreanHanjaMixPages?: number[];
|
|
761
759
|
}
|
|
762
760
|
|
|
763
761
|
type ReviewAssistanceReportSchemaName = 'HeripoReviewAssistanceReport';
|
package/dist/index.d.ts
CHANGED
|
@@ -741,7 +741,7 @@ interface DocumentProcessResult {
|
|
|
741
741
|
/**
|
|
742
742
|
* Result of the OCR strategy sampling phase.
|
|
743
743
|
* Determines whether to use ocrmac (standard Docling pipeline)
|
|
744
|
-
* or VLM
|
|
744
|
+
* or VLM text correction for a given document.
|
|
745
745
|
*/
|
|
746
746
|
interface OcrStrategy {
|
|
747
747
|
/** Selected OCR method */
|
|
@@ -756,8 +756,6 @@ interface OcrStrategy {
|
|
|
756
756
|
sampledPages: number;
|
|
757
757
|
/** Total number of pages in the document */
|
|
758
758
|
totalPages: number;
|
|
759
|
-
/** 1-based page numbers where Korean-Hanja mixed script was detected in text layer */
|
|
760
|
-
koreanHanjaMixPages?: number[];
|
|
761
759
|
}
|
|
762
760
|
|
|
763
761
|
type ReviewAssistanceReportSchemaName = 'HeripoReviewAssistanceReport';
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@heripo/model",
|
|
3
3
|
"private": false,
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.28",
|
|
6
6
|
"description": "Document models and type definitions for heripo engine",
|
|
7
7
|
"main": "dist/index.cjs",
|
|
8
8
|
"module": "dist/index.js",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"tsup": "^8.5.1",
|
|
57
57
|
"vitest": "^4.1.5",
|
|
58
58
|
"@heripo/tsconfig": "0.0.0",
|
|
59
|
-
"@heripo/
|
|
60
|
-
"@heripo/
|
|
59
|
+
"@heripo/tsup-config": "0.0.0",
|
|
60
|
+
"@heripo/vitest-config": "0.0.0"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"clean": "rimraf dist",
|