@xberg-io/xberg-wasm 1.3.8 → 1.3.9
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/package.json
CHANGED
package/pkg/web/package.json
CHANGED
package/pkg/web/xberg_wasm.d.ts
CHANGED
|
@@ -3908,7 +3908,7 @@ export class WasmExtractionConfig {
|
|
|
3908
3908
|
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
3909
3909
|
* the generated setter borrows and leaves your handle alive.
|
|
3910
3910
|
*/
|
|
3911
|
-
constructor(mimeDetectionPolicy?: WasmMimeDetectionPolicy | null, useCache?: boolean | null, enableQualityProcessing?: boolean | null, forceOcr?: boolean | null, ocrStrategy?: any | null, disableOcr?: boolean | null, resultFormat?: WasmResultFormat | null, outputFormat?: any | null, escapeMarkdown?: boolean | null, tableAnchors?: boolean | null, jupyterCellRendering?: WasmJupyterCellRendering | null, applyNotebookCellTags?: boolean | null, useLayoutForMarkdown?: boolean | null, includeDocumentStructure?: boolean | null, url?: WasmUrlExtractionConfig | null, maxArchiveDepth?: number | null, ocr?: WasmOcrConfig | null, forceOcrPages?: Uint32Array | null, ocrNearEmptyFallback?: boolean | null, ocrScannedPageQualityGate?: boolean | null, ocrEmbeddedImages?: boolean | null, chunking?: WasmChunkingConfig | null, contentFilter?: WasmContentFilterConfig | null, images?: WasmImageExtractionConfig | null, pdfOptions?: WasmPdfConfig | null, tokenReduction?: WasmTokenReductionOptions | null, languageDetection?: WasmLanguageDetectionConfig | null, pages?: WasmPageConfig | null, keywords?: WasmKeywordConfig | null, postprocessor?: WasmPostProcessorConfig | null, htmlOptions?: WasmConversionOptions | null, htmlOutput?: WasmHtmlOutputConfig | null, extractionTimeoutSecs?: bigint | null, maxConcurrentExtractions?: number | null, securityLimits?: WasmSecurityLimits | null, maxEmbeddedFileBytes?: bigint | null, layout?: WasmLayoutDetectionConfig | null, transcription?: WasmTranscriptionConfig | null, acceleration?: WasmAccelerationConfig | null, cacheNamespace?: string | null, cacheTtlSecs?: bigint | null, email?: WasmEmailConfig | null, csv?: WasmCsvConfig | null, geojson?: WasmGeoJsonExtractionConfig | null, concurrency?: WasmConcurrencyConfig | null, structuredExtraction?: WasmStructuredExtractionConfig | null, ner?: WasmNerConfig | null, redaction?: WasmRedactionConfig | null, summarization?: WasmSummarizationConfig | null, translation?: WasmTranslationConfig | null, pageClassification?: WasmPageClassificationConfig | null, chunkClassification?: WasmChunkClassificationConfig | null, captioning?: WasmCaptioningConfig | null, qrCodes?: boolean | null);
|
|
3911
|
+
constructor(mimeDetectionPolicy?: WasmMimeDetectionPolicy | null, useCache?: boolean | null, enableQualityProcessing?: boolean | null, forceOcr?: boolean | null, ocrStrategy?: any | null, disableOcr?: boolean | null, resultFormat?: WasmResultFormat | null, outputFormat?: any | null, escapeMarkdown?: boolean | null, tableAnchors?: boolean | null, jupyterCellRendering?: WasmJupyterCellRendering | null, applyNotebookCellTags?: boolean | null, useLayoutForMarkdown?: boolean | null, includeDocumentStructure?: boolean | null, strictParse?: boolean | null, url?: WasmUrlExtractionConfig | null, maxArchiveDepth?: number | null, ocr?: WasmOcrConfig | null, forceOcrPages?: Uint32Array | null, ocrNearEmptyFallback?: boolean | null, ocrScannedPageQualityGate?: boolean | null, ocrEmbeddedImages?: boolean | null, chunking?: WasmChunkingConfig | null, contentFilter?: WasmContentFilterConfig | null, images?: WasmImageExtractionConfig | null, pdfOptions?: WasmPdfConfig | null, tokenReduction?: WasmTokenReductionOptions | null, languageDetection?: WasmLanguageDetectionConfig | null, pages?: WasmPageConfig | null, keywords?: WasmKeywordConfig | null, postprocessor?: WasmPostProcessorConfig | null, htmlOptions?: WasmConversionOptions | null, htmlOutput?: WasmHtmlOutputConfig | null, extractionTimeoutSecs?: bigint | null, maxConcurrentExtractions?: number | null, securityLimits?: WasmSecurityLimits | null, maxEmbeddedFileBytes?: bigint | null, layout?: WasmLayoutDetectionConfig | null, transcription?: WasmTranscriptionConfig | null, acceleration?: WasmAccelerationConfig | null, cacheNamespace?: string | null, cacheTtlSecs?: bigint | null, email?: WasmEmailConfig | null, csv?: WasmCsvConfig | null, geojson?: WasmGeoJsonExtractionConfig | null, concurrency?: WasmConcurrencyConfig | null, structuredExtraction?: WasmStructuredExtractionConfig | null, ner?: WasmNerConfig | null, redaction?: WasmRedactionConfig | null, summarization?: WasmSummarizationConfig | null, translation?: WasmTranslationConfig | null, pageClassification?: WasmPageClassificationConfig | null, chunkClassification?: WasmChunkClassificationConfig | null, captioning?: WasmCaptioningConfig | null, qrCodes?: boolean | null);
|
|
3912
3912
|
/**
|
|
3913
3913
|
* Whether embedded images get OCR'd.
|
|
3914
3914
|
*
|
|
@@ -4195,6 +4195,7 @@ export class WasmExtractionConfig {
|
|
|
4195
4195
|
*/
|
|
4196
4196
|
get securityLimits(): WasmSecurityLimits | undefined;
|
|
4197
4197
|
set securityLimits(value: WasmSecurityLimits);
|
|
4198
|
+
strictParse: boolean;
|
|
4198
4199
|
/**
|
|
4199
4200
|
* Returns a detached copy of `structuredExtraction`.
|
|
4200
4201
|
*
|
|
@@ -4436,7 +4437,7 @@ export class WasmFileExtractionConfig {
|
|
|
4436
4437
|
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
4437
4438
|
* the generated setter borrows and leaves your handle alive.
|
|
4438
4439
|
*/
|
|
4439
|
-
constructor(mimeDetectionPolicy?: WasmMimeDetectionPolicy | null, enableQualityProcessing?: boolean | null, ocr?: WasmOcrConfig | null, forceOcr?: boolean | null, ocrStrategy?: any | null, forceOcrPages?: Uint32Array | null, disableOcr?: boolean | null, chunking?: WasmChunkingConfig | null, contentFilter?: WasmContentFilterConfig | null, images?: WasmImageExtractionConfig | null, pdfOptions?: WasmPdfConfig | null, tokenReduction?: WasmTokenReductionOptions | null, languageDetection?: WasmLanguageDetectionConfig | null, pages?: WasmPageConfig | null, keywords?: WasmKeywordConfig | null, postprocessor?: WasmPostProcessorConfig | null, htmlOptions?: WasmConversionOptions | null, htmlOutput?: WasmHtmlOutputConfig | null, resultFormat?: WasmResultFormat | null, outputFormat?: any | null, includeDocumentStructure?: boolean | null, layout?: WasmLayoutDetectionConfig | null, transcription?: WasmTranscriptionConfig | null, timeoutSecs?: bigint | null, structuredExtraction?: WasmStructuredExtractionConfig | null, url?: WasmUrlExtractionConfig | null, ner?: WasmNerConfig | null, redaction?: WasmRedactionConfig | null, summarization?: WasmSummarizationConfig | null, translation?: WasmTranslationConfig | null, pageClassification?: WasmPageClassificationConfig | null, chunkClassification?: WasmChunkClassificationConfig | null, captioning?: WasmCaptioningConfig | null, qrCodes?: boolean | null);
|
|
4440
|
+
constructor(mimeDetectionPolicy?: WasmMimeDetectionPolicy | null, enableQualityProcessing?: boolean | null, ocr?: WasmOcrConfig | null, forceOcr?: boolean | null, ocrStrategy?: any | null, forceOcrPages?: Uint32Array | null, disableOcr?: boolean | null, chunking?: WasmChunkingConfig | null, contentFilter?: WasmContentFilterConfig | null, images?: WasmImageExtractionConfig | null, pdfOptions?: WasmPdfConfig | null, tokenReduction?: WasmTokenReductionOptions | null, languageDetection?: WasmLanguageDetectionConfig | null, pages?: WasmPageConfig | null, keywords?: WasmKeywordConfig | null, postprocessor?: WasmPostProcessorConfig | null, htmlOptions?: WasmConversionOptions | null, htmlOutput?: WasmHtmlOutputConfig | null, resultFormat?: WasmResultFormat | null, outputFormat?: any | null, includeDocumentStructure?: boolean | null, strictParse?: boolean | null, layout?: WasmLayoutDetectionConfig | null, transcription?: WasmTranscriptionConfig | null, timeoutSecs?: bigint | null, structuredExtraction?: WasmStructuredExtractionConfig | null, url?: WasmUrlExtractionConfig | null, ner?: WasmNerConfig | null, redaction?: WasmRedactionConfig | null, summarization?: WasmSummarizationConfig | null, translation?: WasmTranslationConfig | null, pageClassification?: WasmPageClassificationConfig | null, chunkClassification?: WasmChunkClassificationConfig | null, captioning?: WasmCaptioningConfig | null, qrCodes?: boolean | null);
|
|
4440
4441
|
/**
|
|
4441
4442
|
* Returns a detached copy of `captioning`.
|
|
4442
4443
|
*
|
|
@@ -4593,6 +4594,8 @@ export class WasmFileExtractionConfig {
|
|
|
4593
4594
|
set redaction(value: WasmRedactionConfig);
|
|
4594
4595
|
get resultFormat(): string | undefined;
|
|
4595
4596
|
set resultFormat(value: WasmResultFormat | null | undefined);
|
|
4597
|
+
get strictParse(): boolean | undefined;
|
|
4598
|
+
set strictParse(value: boolean | null | undefined);
|
|
4596
4599
|
/**
|
|
4597
4600
|
* Returns a detached copy of `structuredExtraction`.
|
|
4598
4601
|
*
|
|
@@ -7361,9 +7364,9 @@ export class WasmOcrMetadata {
|
|
|
7361
7364
|
*
|
|
7362
7365
|
* The warning in `ExtractedDocument.processing_warnings` stays available. One warning
|
|
7363
7366
|
* can cover several pages: when an automatic OCR run of selected pages fails as a whole,
|
|
7364
|
-
* it adds one warning and one record for each selected page.
|
|
7365
|
-
*
|
|
7366
|
-
* one record.
|
|
7367
|
+
* it adds one warning and one record for each selected page. When the OCR fallback for the
|
|
7368
|
+
* whole document fails, it adds one warning and one record for each page that has no native
|
|
7369
|
+
* text. Repeated failures on one page make one record.
|
|
7367
7370
|
*/
|
|
7368
7371
|
export class WasmOcrPageFailure {
|
|
7369
7372
|
free(): void;
|
|
@@ -13281,7 +13284,7 @@ export interface InitOutput {
|
|
|
13281
13284
|
readonly wasmextractionconfig_needsImageData: (a: number) => number;
|
|
13282
13285
|
readonly wasmextractionconfig_needsImageProcessing: (a: number) => number;
|
|
13283
13286
|
readonly wasmextractionconfig_ner: (a: number) => number;
|
|
13284
|
-
readonly wasmextractionconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number, y: number, z: number, a1: number, b1: number, c1: number, d1: number, e1: number, f1: number, g1: number, h1: number, i1:
|
|
13287
|
+
readonly wasmextractionconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number, y: number, z: number, a1: number, b1: number, c1: number, d1: number, e1: number, f1: number, g1: number, h1: number, i1: number, j1: bigint, k1: number, l1: number, m1: number, n1: bigint, o1: number, p1: number, q1: number, r1: number, s1: number, t1: number, u1: bigint, v1: number, w1: number, x1: number, y1: number, z1: number, a2: number, b2: number, c2: number, d2: number, e2: number, f2: number, g2: number, h2: number) => number;
|
|
13285
13288
|
readonly wasmextractionconfig_ocr: (a: number) => number;
|
|
13286
13289
|
readonly wasmextractionconfig_ocrEmbeddedImages: (a: number) => number;
|
|
13287
13290
|
readonly wasmextractionconfig_ocrNearEmptyFallback: (a: number) => number;
|
|
@@ -13342,6 +13345,7 @@ export interface InitOutput {
|
|
|
13342
13345
|
readonly wasmextractionconfig_set_redaction: (a: number, b: number) => void;
|
|
13343
13346
|
readonly wasmextractionconfig_set_resultFormat: (a: number, b: number) => void;
|
|
13344
13347
|
readonly wasmextractionconfig_set_securityLimits: (a: number, b: number) => void;
|
|
13348
|
+
readonly wasmextractionconfig_set_strictParse: (a: number, b: number) => void;
|
|
13345
13349
|
readonly wasmextractionconfig_set_structuredExtraction: (a: number, b: number) => void;
|
|
13346
13350
|
readonly wasmextractionconfig_set_summarization: (a: number, b: number) => void;
|
|
13347
13351
|
readonly wasmextractionconfig_set_tableAnchors: (a: number, b: number) => void;
|
|
@@ -13351,6 +13355,7 @@ export interface InitOutput {
|
|
|
13351
13355
|
readonly wasmextractionconfig_set_url: (a: number, b: number) => void;
|
|
13352
13356
|
readonly wasmextractionconfig_set_useCache: (a: number, b: number) => void;
|
|
13353
13357
|
readonly wasmextractionconfig_set_useLayoutForMarkdown: (a: number, b: number) => void;
|
|
13358
|
+
readonly wasmextractionconfig_strictParse: (a: number) => number;
|
|
13354
13359
|
readonly wasmextractionconfig_structuredExtraction: (a: number) => number;
|
|
13355
13360
|
readonly wasmextractionconfig_summarization: (a: number) => number;
|
|
13356
13361
|
readonly wasmextractionconfig_tableAnchors: (a: number) => number;
|
|
@@ -13457,7 +13462,7 @@ export interface InitOutput {
|
|
|
13457
13462
|
readonly wasmfileextractionconfig_layout: (a: number) => number;
|
|
13458
13463
|
readonly wasmfileextractionconfig_mimeDetectionPolicy: (a: number) => [number, number];
|
|
13459
13464
|
readonly wasmfileextractionconfig_ner: (a: number) => number;
|
|
13460
|
-
readonly wasmfileextractionconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number, y: number, z:
|
|
13465
|
+
readonly wasmfileextractionconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number, y: number, z: number, a1: bigint, b1: number, c1: number, d1: number, e1: number, f1: number, g1: number, h1: number, i1: number, j1: number, k1: number) => number;
|
|
13461
13466
|
readonly wasmfileextractionconfig_ocr: (a: number) => number;
|
|
13462
13467
|
readonly wasmfileextractionconfig_ocrStrategy: (a: number) => any;
|
|
13463
13468
|
readonly wasmfileextractionconfig_outputFormat: (a: number) => any;
|
|
@@ -13495,6 +13500,7 @@ export interface InitOutput {
|
|
|
13495
13500
|
readonly wasmfileextractionconfig_set_qrCodes: (a: number, b: number) => void;
|
|
13496
13501
|
readonly wasmfileextractionconfig_set_redaction: (a: number, b: number) => void;
|
|
13497
13502
|
readonly wasmfileextractionconfig_set_resultFormat: (a: number, b: number) => void;
|
|
13503
|
+
readonly wasmfileextractionconfig_set_strictParse: (a: number, b: number) => void;
|
|
13498
13504
|
readonly wasmfileextractionconfig_set_structuredExtraction: (a: number, b: number) => void;
|
|
13499
13505
|
readonly wasmfileextractionconfig_set_summarization: (a: number, b: number) => void;
|
|
13500
13506
|
readonly wasmfileextractionconfig_set_timeoutSecs: (a: number, b: number, c: bigint) => void;
|
|
@@ -13502,6 +13508,7 @@ export interface InitOutput {
|
|
|
13502
13508
|
readonly wasmfileextractionconfig_set_transcription: (a: number, b: number) => void;
|
|
13503
13509
|
readonly wasmfileextractionconfig_set_translation: (a: number, b: number) => void;
|
|
13504
13510
|
readonly wasmfileextractionconfig_set_url: (a: number, b: number) => void;
|
|
13511
|
+
readonly wasmfileextractionconfig_strictParse: (a: number) => number;
|
|
13505
13512
|
readonly wasmfileextractionconfig_structuredExtraction: (a: number) => number;
|
|
13506
13513
|
readonly wasmfileextractionconfig_summarization: (a: number) => number;
|
|
13507
13514
|
readonly wasmfileextractionconfig_timeoutSecs: (a: number) => [number, bigint];
|
|
@@ -15859,9 +15866,9 @@ export interface InitOutput {
|
|
|
15859
15866
|
readonly xbergengine_new: (a: any, b: any) => [number, number, number];
|
|
15860
15867
|
readonly qcms_enable_iccv4: () => void;
|
|
15861
15868
|
readonly xbergengine_ocr: (a: number, b: number, c: number, d: any) => any;
|
|
15862
|
-
readonly
|
|
15863
|
-
readonly
|
|
15864
|
-
readonly
|
|
15869
|
+
readonly wasm_bindgen__convert__closures_____invoke__h1697dacc3af5e769: (a: number, b: number, c: any, d: any) => void;
|
|
15870
|
+
readonly wasm_bindgen__convert__closures_____invoke__hcbfea0afcfcd2f5c: (a: number, b: number, c: any) => [number, number];
|
|
15871
|
+
readonly wasm_bindgen__convert__closures_____invoke__h697ad9e8f3481d94: (a: number, b: number) => void;
|
|
15865
15872
|
readonly __wbindgen_malloc_command_export: (a: number, b: number) => number;
|
|
15866
15873
|
readonly __wbindgen_realloc_command_export: (a: number, b: number, c: number, d: number) => number;
|
|
15867
15874
|
readonly __wbindgen_exn_store_command_export: (a: number) => void;
|
package/pkg/web/xberg_wasm.js
CHANGED
|
@@ -15853,6 +15853,7 @@ export class WasmExtractionConfig {
|
|
|
15853
15853
|
* @param {boolean | null} [applyNotebookCellTags]
|
|
15854
15854
|
* @param {boolean | null} [useLayoutForMarkdown]
|
|
15855
15855
|
* @param {boolean | null} [includeDocumentStructure]
|
|
15856
|
+
* @param {boolean | null} [strictParse]
|
|
15856
15857
|
* @param {WasmUrlExtractionConfig | null} [url]
|
|
15857
15858
|
* @param {number | null} [maxArchiveDepth]
|
|
15858
15859
|
* @param {WasmOcrConfig | null} [ocr]
|
|
@@ -15894,7 +15895,7 @@ export class WasmExtractionConfig {
|
|
|
15894
15895
|
* @param {WasmCaptioningConfig | null} [captioning]
|
|
15895
15896
|
* @param {boolean | null} [qrCodes]
|
|
15896
15897
|
*/
|
|
15897
|
-
constructor(mimeDetectionPolicy, useCache, enableQualityProcessing, forceOcr, ocrStrategy, disableOcr, resultFormat, outputFormat, escapeMarkdown, tableAnchors, jupyterCellRendering, applyNotebookCellTags, useLayoutForMarkdown, includeDocumentStructure, url, maxArchiveDepth, ocr, forceOcrPages, ocrNearEmptyFallback, ocrScannedPageQualityGate, ocrEmbeddedImages, chunking, contentFilter, images, pdfOptions, tokenReduction, languageDetection, pages, keywords, postprocessor, htmlOptions, htmlOutput, extractionTimeoutSecs, maxConcurrentExtractions, securityLimits, maxEmbeddedFileBytes, layout, transcription, acceleration, cacheNamespace, cacheTtlSecs, email, csv, geojson, concurrency, structuredExtraction, ner, redaction, summarization, translation, pageClassification, chunkClassification, captioning, qrCodes) {
|
|
15898
|
+
constructor(mimeDetectionPolicy, useCache, enableQualityProcessing, forceOcr, ocrStrategy, disableOcr, resultFormat, outputFormat, escapeMarkdown, tableAnchors, jupyterCellRendering, applyNotebookCellTags, useLayoutForMarkdown, includeDocumentStructure, strictParse, url, maxArchiveDepth, ocr, forceOcrPages, ocrNearEmptyFallback, ocrScannedPageQualityGate, ocrEmbeddedImages, chunking, contentFilter, images, pdfOptions, tokenReduction, languageDetection, pages, keywords, postprocessor, htmlOptions, htmlOutput, extractionTimeoutSecs, maxConcurrentExtractions, securityLimits, maxEmbeddedFileBytes, layout, transcription, acceleration, cacheNamespace, cacheTtlSecs, email, csv, geojson, concurrency, structuredExtraction, ner, redaction, summarization, translation, pageClassification, chunkClassification, captioning, qrCodes) {
|
|
15898
15899
|
let ptr0 = 0;
|
|
15899
15900
|
if (!isLikeNone(url)) {
|
|
15900
15901
|
_assertClass(url, WasmUrlExtractionConfig);
|
|
@@ -16044,7 +16045,7 @@ export class WasmExtractionConfig {
|
|
|
16044
16045
|
_assertClass(captioning, WasmCaptioningConfig);
|
|
16045
16046
|
ptr30 = captioning.__destroy_into_raw();
|
|
16046
16047
|
}
|
|
16047
|
-
const ret = wasm.wasmextractionconfig_new(isLikeNone(mimeDetectionPolicy) ? 3 : mimeDetectionPolicy, isLikeNone(useCache) ? 0xFFFFFF : useCache ? 1 : 0, isLikeNone(enableQualityProcessing) ? 0xFFFFFF : enableQualityProcessing ? 1 : 0, isLikeNone(forceOcr) ? 0xFFFFFF : forceOcr ? 1 : 0, isLikeNone(ocrStrategy) ? 0 : addToExternrefTable0(ocrStrategy), isLikeNone(disableOcr) ? 0xFFFFFF : disableOcr ? 1 : 0, isLikeNone(resultFormat) ? 2 : resultFormat, isLikeNone(outputFormat) ? 0 : addToExternrefTable0(outputFormat), isLikeNone(escapeMarkdown) ? 0xFFFFFF : escapeMarkdown ? 1 : 0, isLikeNone(tableAnchors) ? 0xFFFFFF : tableAnchors ? 1 : 0, isLikeNone(jupyterCellRendering) ? 3 : jupyterCellRendering, isLikeNone(applyNotebookCellTags) ? 0xFFFFFF : applyNotebookCellTags ? 1 : 0, isLikeNone(useLayoutForMarkdown) ? 0xFFFFFF : useLayoutForMarkdown ? 1 : 0, isLikeNone(includeDocumentStructure) ? 0xFFFFFF : includeDocumentStructure ? 1 : 0, ptr0, isLikeNone(maxArchiveDepth) ? Number.MAX_SAFE_INTEGER : (maxArchiveDepth) >>> 0, ptr1, ptr2, len2, isLikeNone(ocrNearEmptyFallback) ? 0xFFFFFF : ocrNearEmptyFallback ? 1 : 0, isLikeNone(ocrScannedPageQualityGate) ? 0xFFFFFF : ocrScannedPageQualityGate ? 1 : 0, isLikeNone(ocrEmbeddedImages) ? 0xFFFFFF : ocrEmbeddedImages ? 1 : 0, ptr3, ptr4, ptr5, ptr6, ptr7, ptr8, ptr9, ptr10, ptr11, ptr12, ptr13, !isLikeNone(extractionTimeoutSecs), isLikeNone(extractionTimeoutSecs) ? BigInt(0) : extractionTimeoutSecs, isLikeNone(maxConcurrentExtractions) ? Number.MAX_SAFE_INTEGER : (maxConcurrentExtractions) >>> 0, ptr14, !isLikeNone(maxEmbeddedFileBytes), isLikeNone(maxEmbeddedFileBytes) ? BigInt(0) : maxEmbeddedFileBytes, ptr15, ptr16, ptr17, ptr18, len18, !isLikeNone(cacheTtlSecs), isLikeNone(cacheTtlSecs) ? BigInt(0) : cacheTtlSecs, ptr19, ptr20, ptr21, ptr22, ptr23, ptr24, ptr25, ptr26, ptr27, ptr28, ptr29, ptr30, isLikeNone(qrCodes) ? 0xFFFFFF : qrCodes ? 1 : 0);
|
|
16048
|
+
const ret = wasm.wasmextractionconfig_new(isLikeNone(mimeDetectionPolicy) ? 3 : mimeDetectionPolicy, isLikeNone(useCache) ? 0xFFFFFF : useCache ? 1 : 0, isLikeNone(enableQualityProcessing) ? 0xFFFFFF : enableQualityProcessing ? 1 : 0, isLikeNone(forceOcr) ? 0xFFFFFF : forceOcr ? 1 : 0, isLikeNone(ocrStrategy) ? 0 : addToExternrefTable0(ocrStrategy), isLikeNone(disableOcr) ? 0xFFFFFF : disableOcr ? 1 : 0, isLikeNone(resultFormat) ? 2 : resultFormat, isLikeNone(outputFormat) ? 0 : addToExternrefTable0(outputFormat), isLikeNone(escapeMarkdown) ? 0xFFFFFF : escapeMarkdown ? 1 : 0, isLikeNone(tableAnchors) ? 0xFFFFFF : tableAnchors ? 1 : 0, isLikeNone(jupyterCellRendering) ? 3 : jupyterCellRendering, isLikeNone(applyNotebookCellTags) ? 0xFFFFFF : applyNotebookCellTags ? 1 : 0, isLikeNone(useLayoutForMarkdown) ? 0xFFFFFF : useLayoutForMarkdown ? 1 : 0, isLikeNone(includeDocumentStructure) ? 0xFFFFFF : includeDocumentStructure ? 1 : 0, isLikeNone(strictParse) ? 0xFFFFFF : strictParse ? 1 : 0, ptr0, isLikeNone(maxArchiveDepth) ? Number.MAX_SAFE_INTEGER : (maxArchiveDepth) >>> 0, ptr1, ptr2, len2, isLikeNone(ocrNearEmptyFallback) ? 0xFFFFFF : ocrNearEmptyFallback ? 1 : 0, isLikeNone(ocrScannedPageQualityGate) ? 0xFFFFFF : ocrScannedPageQualityGate ? 1 : 0, isLikeNone(ocrEmbeddedImages) ? 0xFFFFFF : ocrEmbeddedImages ? 1 : 0, ptr3, ptr4, ptr5, ptr6, ptr7, ptr8, ptr9, ptr10, ptr11, ptr12, ptr13, !isLikeNone(extractionTimeoutSecs), isLikeNone(extractionTimeoutSecs) ? BigInt(0) : extractionTimeoutSecs, isLikeNone(maxConcurrentExtractions) ? Number.MAX_SAFE_INTEGER : (maxConcurrentExtractions) >>> 0, ptr14, !isLikeNone(maxEmbeddedFileBytes), isLikeNone(maxEmbeddedFileBytes) ? BigInt(0) : maxEmbeddedFileBytes, ptr15, ptr16, ptr17, ptr18, len18, !isLikeNone(cacheTtlSecs), isLikeNone(cacheTtlSecs) ? BigInt(0) : cacheTtlSecs, ptr19, ptr20, ptr21, ptr22, ptr23, ptr24, ptr25, ptr26, ptr27, ptr28, ptr29, ptr30, isLikeNone(qrCodes) ? 0xFFFFFF : qrCodes ? 1 : 0);
|
|
16048
16049
|
this.__wbg_ptr = ret;
|
|
16049
16050
|
WasmExtractionConfigFinalization.register(this, this.__wbg_ptr, this);
|
|
16050
16051
|
return this;
|
|
@@ -16507,6 +16508,12 @@ export class WasmExtractionConfig {
|
|
|
16507
16508
|
_assertClass(value, WasmSecurityLimits);
|
|
16508
16509
|
wasm.wasmextractionconfig_set_securityLimits(this.__wbg_ptr, value.__wbg_ptr);
|
|
16509
16510
|
}
|
|
16511
|
+
/**
|
|
16512
|
+
* @param {boolean} value
|
|
16513
|
+
*/
|
|
16514
|
+
set strictParse(value) {
|
|
16515
|
+
wasm.wasmextractionconfig_set_strictParse(this.__wbg_ptr, value);
|
|
16516
|
+
}
|
|
16510
16517
|
/**
|
|
16511
16518
|
* @param {WasmStructuredExtractionConfig} value
|
|
16512
16519
|
*/
|
|
@@ -16567,6 +16574,13 @@ export class WasmExtractionConfig {
|
|
|
16567
16574
|
set useLayoutForMarkdown(value) {
|
|
16568
16575
|
wasm.wasmextractionconfig_set_useLayoutForMarkdown(this.__wbg_ptr, value);
|
|
16569
16576
|
}
|
|
16577
|
+
/**
|
|
16578
|
+
* @returns {boolean}
|
|
16579
|
+
*/
|
|
16580
|
+
get strictParse() {
|
|
16581
|
+
const ret = wasm.wasmextractionconfig_strictParse(this.__wbg_ptr);
|
|
16582
|
+
return ret !== 0;
|
|
16583
|
+
}
|
|
16570
16584
|
/**
|
|
16571
16585
|
* Returns a detached copy of `structuredExtraction`.
|
|
16572
16586
|
*
|
|
@@ -17648,6 +17662,7 @@ export class WasmFileExtractionConfig {
|
|
|
17648
17662
|
* @param {WasmResultFormat | null} [resultFormat]
|
|
17649
17663
|
* @param {any | null} [outputFormat]
|
|
17650
17664
|
* @param {boolean | null} [includeDocumentStructure]
|
|
17665
|
+
* @param {boolean | null} [strictParse]
|
|
17651
17666
|
* @param {WasmLayoutDetectionConfig | null} [layout]
|
|
17652
17667
|
* @param {WasmTranscriptionConfig | null} [transcription]
|
|
17653
17668
|
* @param {bigint | null} [timeoutSecs]
|
|
@@ -17662,7 +17677,7 @@ export class WasmFileExtractionConfig {
|
|
|
17662
17677
|
* @param {WasmCaptioningConfig | null} [captioning]
|
|
17663
17678
|
* @param {boolean | null} [qrCodes]
|
|
17664
17679
|
*/
|
|
17665
|
-
constructor(mimeDetectionPolicy, enableQualityProcessing, ocr, forceOcr, ocrStrategy, forceOcrPages, disableOcr, chunking, contentFilter, images, pdfOptions, tokenReduction, languageDetection, pages, keywords, postprocessor, htmlOptions, htmlOutput, resultFormat, outputFormat, includeDocumentStructure, layout, transcription, timeoutSecs, structuredExtraction, url, ner, redaction, summarization, translation, pageClassification, chunkClassification, captioning, qrCodes) {
|
|
17680
|
+
constructor(mimeDetectionPolicy, enableQualityProcessing, ocr, forceOcr, ocrStrategy, forceOcrPages, disableOcr, chunking, contentFilter, images, pdfOptions, tokenReduction, languageDetection, pages, keywords, postprocessor, htmlOptions, htmlOutput, resultFormat, outputFormat, includeDocumentStructure, strictParse, layout, transcription, timeoutSecs, structuredExtraction, url, ner, redaction, summarization, translation, pageClassification, chunkClassification, captioning, qrCodes) {
|
|
17666
17681
|
let ptr0 = 0;
|
|
17667
17682
|
if (!isLikeNone(ocr)) {
|
|
17668
17683
|
_assertClass(ocr, WasmOcrConfig);
|
|
@@ -17780,7 +17795,7 @@ export class WasmFileExtractionConfig {
|
|
|
17780
17795
|
_assertClass(captioning, WasmCaptioningConfig);
|
|
17781
17796
|
ptr23 = captioning.__destroy_into_raw();
|
|
17782
17797
|
}
|
|
17783
|
-
const ret = wasm.wasmfileextractionconfig_new(isLikeNone(mimeDetectionPolicy) ? 3 : mimeDetectionPolicy, isLikeNone(enableQualityProcessing) ? 0xFFFFFF : enableQualityProcessing ? 1 : 0, ptr0, isLikeNone(forceOcr) ? 0xFFFFFF : forceOcr ? 1 : 0, isLikeNone(ocrStrategy) ? 0 : addToExternrefTable0(ocrStrategy), ptr1, len1, isLikeNone(disableOcr) ? 0xFFFFFF : disableOcr ? 1 : 0, ptr2, ptr3, ptr4, ptr5, ptr6, ptr7, ptr8, ptr9, ptr10, ptr11, ptr12, isLikeNone(resultFormat) ? 2 : resultFormat, isLikeNone(outputFormat) ? 0 : addToExternrefTable0(outputFormat), isLikeNone(includeDocumentStructure) ? 0xFFFFFF : includeDocumentStructure ? 1 : 0, ptr13, ptr14, !isLikeNone(timeoutSecs), isLikeNone(timeoutSecs) ? BigInt(0) : timeoutSecs, ptr15, ptr16, ptr17, ptr18, ptr19, ptr20, ptr21, ptr22, ptr23, isLikeNone(qrCodes) ? 0xFFFFFF : qrCodes ? 1 : 0);
|
|
17798
|
+
const ret = wasm.wasmfileextractionconfig_new(isLikeNone(mimeDetectionPolicy) ? 3 : mimeDetectionPolicy, isLikeNone(enableQualityProcessing) ? 0xFFFFFF : enableQualityProcessing ? 1 : 0, ptr0, isLikeNone(forceOcr) ? 0xFFFFFF : forceOcr ? 1 : 0, isLikeNone(ocrStrategy) ? 0 : addToExternrefTable0(ocrStrategy), ptr1, len1, isLikeNone(disableOcr) ? 0xFFFFFF : disableOcr ? 1 : 0, ptr2, ptr3, ptr4, ptr5, ptr6, ptr7, ptr8, ptr9, ptr10, ptr11, ptr12, isLikeNone(resultFormat) ? 2 : resultFormat, isLikeNone(outputFormat) ? 0 : addToExternrefTable0(outputFormat), isLikeNone(includeDocumentStructure) ? 0xFFFFFF : includeDocumentStructure ? 1 : 0, isLikeNone(strictParse) ? 0xFFFFFF : strictParse ? 1 : 0, ptr13, ptr14, !isLikeNone(timeoutSecs), isLikeNone(timeoutSecs) ? BigInt(0) : timeoutSecs, ptr15, ptr16, ptr17, ptr18, ptr19, ptr20, ptr21, ptr22, ptr23, isLikeNone(qrCodes) ? 0xFFFFFF : qrCodes ? 1 : 0);
|
|
17784
17799
|
this.__wbg_ptr = ret;
|
|
17785
17800
|
WasmFileExtractionConfigFinalization.register(this, this.__wbg_ptr, this);
|
|
17786
17801
|
return this;
|
|
@@ -18065,6 +18080,12 @@ export class WasmFileExtractionConfig {
|
|
|
18065
18080
|
set resultFormat(value) {
|
|
18066
18081
|
wasm.wasmfileextractionconfig_set_resultFormat(this.__wbg_ptr, isLikeNone(value) ? 2 : value);
|
|
18067
18082
|
}
|
|
18083
|
+
/**
|
|
18084
|
+
* @param {boolean | null} [value]
|
|
18085
|
+
*/
|
|
18086
|
+
set strictParse(value) {
|
|
18087
|
+
wasm.wasmfileextractionconfig_set_strictParse(this.__wbg_ptr, isLikeNone(value) ? 0xFFFFFF : value ? 1 : 0);
|
|
18088
|
+
}
|
|
18068
18089
|
/**
|
|
18069
18090
|
* @param {WasmStructuredExtractionConfig} value
|
|
18070
18091
|
*/
|
|
@@ -18113,6 +18134,13 @@ export class WasmFileExtractionConfig {
|
|
|
18113
18134
|
_assertClass(value, WasmUrlExtractionConfig);
|
|
18114
18135
|
wasm.wasmfileextractionconfig_set_url(this.__wbg_ptr, value.__wbg_ptr);
|
|
18115
18136
|
}
|
|
18137
|
+
/**
|
|
18138
|
+
* @returns {boolean | undefined}
|
|
18139
|
+
*/
|
|
18140
|
+
get strictParse() {
|
|
18141
|
+
const ret = wasm.wasmfileextractionconfig_strictParse(this.__wbg_ptr);
|
|
18142
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
18143
|
+
}
|
|
18116
18144
|
/**
|
|
18117
18145
|
* Returns a detached copy of `structuredExtraction`.
|
|
18118
18146
|
*
|
|
@@ -29573,9 +29601,9 @@ if (Symbol.dispose) WasmOcrMetadata.prototype[Symbol.dispose] = WasmOcrMetadata.
|
|
|
29573
29601
|
*
|
|
29574
29602
|
* The warning in `ExtractedDocument.processing_warnings` stays available. One warning
|
|
29575
29603
|
* can cover several pages: when an automatic OCR run of selected pages fails as a whole,
|
|
29576
|
-
* it adds one warning and one record for each selected page.
|
|
29577
|
-
*
|
|
29578
|
-
* one record.
|
|
29604
|
+
* it adds one warning and one record for each selected page. When the OCR fallback for the
|
|
29605
|
+
* whole document fails, it adds one warning and one record for each page that has no native
|
|
29606
|
+
* text. Repeated failures on one page make one record.
|
|
29579
29607
|
*/
|
|
29580
29608
|
export class WasmOcrPageFailure {
|
|
29581
29609
|
static __wrap(ptr) {
|
|
@@ -46328,7 +46356,7 @@ function __wbg_get_imports() {
|
|
|
46328
46356
|
const a = state0.a;
|
|
46329
46357
|
state0.a = 0;
|
|
46330
46358
|
try {
|
|
46331
|
-
return
|
|
46359
|
+
return wasm_bindgen__convert__closures_____invoke__h1697dacc3af5e769(a, state0.b, arg0, arg1);
|
|
46332
46360
|
} finally {
|
|
46333
46361
|
state0.a = a;
|
|
46334
46362
|
}
|
|
@@ -46488,7 +46516,7 @@ function __wbg_get_imports() {
|
|
|
46488
46516
|
const ret = arg0.value;
|
|
46489
46517
|
return ret;
|
|
46490
46518
|
},
|
|
46491
|
-
|
|
46519
|
+
__wbg_warn_b222f740e9ddf70d: function(arg0, arg1) {
|
|
46492
46520
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
46493
46521
|
},
|
|
46494
46522
|
__wbg_wasmarchiveentry_new: function(arg0) {
|
|
@@ -47068,13 +47096,13 @@ function __wbg_get_imports() {
|
|
|
47068
47096
|
return ret;
|
|
47069
47097
|
},
|
|
47070
47098
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
47071
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
47072
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
47099
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 684, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
47100
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hcbfea0afcfcd2f5c);
|
|
47073
47101
|
return ret;
|
|
47074
47102
|
},
|
|
47075
47103
|
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
47076
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
47077
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
47104
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1131, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
47105
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h697ad9e8f3481d94);
|
|
47078
47106
|
return ret;
|
|
47079
47107
|
},
|
|
47080
47108
|
__wbindgen_generic_0000000000000003: function(arg0) {
|
|
@@ -47142,19 +47170,19 @@ function __wbg_get_imports() {
|
|
|
47142
47170
|
};
|
|
47143
47171
|
}
|
|
47144
47172
|
|
|
47145
|
-
function
|
|
47146
|
-
wasm.
|
|
47173
|
+
function wasm_bindgen__convert__closures_____invoke__h697ad9e8f3481d94(arg0, arg1) {
|
|
47174
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h697ad9e8f3481d94(arg0, arg1);
|
|
47147
47175
|
}
|
|
47148
47176
|
|
|
47149
|
-
function
|
|
47150
|
-
const ret = wasm.
|
|
47177
|
+
function wasm_bindgen__convert__closures_____invoke__hcbfea0afcfcd2f5c(arg0, arg1, arg2) {
|
|
47178
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__hcbfea0afcfcd2f5c(arg0, arg1, arg2);
|
|
47151
47179
|
if (ret[1]) {
|
|
47152
47180
|
throw takeFromExternrefTable0(ret[0]);
|
|
47153
47181
|
}
|
|
47154
47182
|
}
|
|
47155
47183
|
|
|
47156
|
-
function
|
|
47157
|
-
wasm.
|
|
47184
|
+
function wasm_bindgen__convert__closures_____invoke__h1697dacc3af5e769(arg0, arg1, arg2, arg3) {
|
|
47185
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h1697dacc3af5e769(arg0, arg1, arg2, arg3);
|
|
47158
47186
|
}
|
|
47159
47187
|
|
|
47160
47188
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/pkg/web/xberg_wasm_bg.wasm
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 38155686 bytes
|
|
4
|
+
sha256: 36d9eac1ba5c078a3fe66b091f9385701ed3b0608f1d2db549c990a3d9886001
|
|
@@ -1705,7 +1705,7 @@ export const wasmextractionconfig_mimeDetectionPolicy: (a: number) => [number, n
|
|
|
1705
1705
|
export const wasmextractionconfig_needsImageData: (a: number) => number;
|
|
1706
1706
|
export const wasmextractionconfig_needsImageProcessing: (a: number) => number;
|
|
1707
1707
|
export const wasmextractionconfig_ner: (a: number) => number;
|
|
1708
|
-
export const wasmextractionconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number, y: number, z: number, a1: number, b1: number, c1: number, d1: number, e1: number, f1: number, g1: number, h1: number, i1:
|
|
1708
|
+
export const wasmextractionconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number, y: number, z: number, a1: number, b1: number, c1: number, d1: number, e1: number, f1: number, g1: number, h1: number, i1: number, j1: bigint, k1: number, l1: number, m1: number, n1: bigint, o1: number, p1: number, q1: number, r1: number, s1: number, t1: number, u1: bigint, v1: number, w1: number, x1: number, y1: number, z1: number, a2: number, b2: number, c2: number, d2: number, e2: number, f2: number, g2: number, h2: number) => number;
|
|
1709
1709
|
export const wasmextractionconfig_ocr: (a: number) => number;
|
|
1710
1710
|
export const wasmextractionconfig_ocrEmbeddedImages: (a: number) => number;
|
|
1711
1711
|
export const wasmextractionconfig_ocrNearEmptyFallback: (a: number) => number;
|
|
@@ -1766,6 +1766,7 @@ export const wasmextractionconfig_set_qrCodes: (a: number, b: number) => void;
|
|
|
1766
1766
|
export const wasmextractionconfig_set_redaction: (a: number, b: number) => void;
|
|
1767
1767
|
export const wasmextractionconfig_set_resultFormat: (a: number, b: number) => void;
|
|
1768
1768
|
export const wasmextractionconfig_set_securityLimits: (a: number, b: number) => void;
|
|
1769
|
+
export const wasmextractionconfig_set_strictParse: (a: number, b: number) => void;
|
|
1769
1770
|
export const wasmextractionconfig_set_structuredExtraction: (a: number, b: number) => void;
|
|
1770
1771
|
export const wasmextractionconfig_set_summarization: (a: number, b: number) => void;
|
|
1771
1772
|
export const wasmextractionconfig_set_tableAnchors: (a: number, b: number) => void;
|
|
@@ -1775,6 +1776,7 @@ export const wasmextractionconfig_set_translation: (a: number, b: number) => voi
|
|
|
1775
1776
|
export const wasmextractionconfig_set_url: (a: number, b: number) => void;
|
|
1776
1777
|
export const wasmextractionconfig_set_useCache: (a: number, b: number) => void;
|
|
1777
1778
|
export const wasmextractionconfig_set_useLayoutForMarkdown: (a: number, b: number) => void;
|
|
1779
|
+
export const wasmextractionconfig_strictParse: (a: number) => number;
|
|
1778
1780
|
export const wasmextractionconfig_structuredExtraction: (a: number) => number;
|
|
1779
1781
|
export const wasmextractionconfig_summarization: (a: number) => number;
|
|
1780
1782
|
export const wasmextractionconfig_tableAnchors: (a: number) => number;
|
|
@@ -1881,7 +1883,7 @@ export const wasmfileextractionconfig_languageDetection: (a: number) => number;
|
|
|
1881
1883
|
export const wasmfileextractionconfig_layout: (a: number) => number;
|
|
1882
1884
|
export const wasmfileextractionconfig_mimeDetectionPolicy: (a: number) => [number, number];
|
|
1883
1885
|
export const wasmfileextractionconfig_ner: (a: number) => number;
|
|
1884
|
-
export const wasmfileextractionconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number, y: number, z:
|
|
1886
|
+
export const wasmfileextractionconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number, y: number, z: number, a1: bigint, b1: number, c1: number, d1: number, e1: number, f1: number, g1: number, h1: number, i1: number, j1: number, k1: number) => number;
|
|
1885
1887
|
export const wasmfileextractionconfig_ocr: (a: number) => number;
|
|
1886
1888
|
export const wasmfileextractionconfig_ocrStrategy: (a: number) => any;
|
|
1887
1889
|
export const wasmfileextractionconfig_outputFormat: (a: number) => any;
|
|
@@ -1919,6 +1921,7 @@ export const wasmfileextractionconfig_set_postprocessor: (a: number, b: number)
|
|
|
1919
1921
|
export const wasmfileextractionconfig_set_qrCodes: (a: number, b: number) => void;
|
|
1920
1922
|
export const wasmfileextractionconfig_set_redaction: (a: number, b: number) => void;
|
|
1921
1923
|
export const wasmfileextractionconfig_set_resultFormat: (a: number, b: number) => void;
|
|
1924
|
+
export const wasmfileextractionconfig_set_strictParse: (a: number, b: number) => void;
|
|
1922
1925
|
export const wasmfileextractionconfig_set_structuredExtraction: (a: number, b: number) => void;
|
|
1923
1926
|
export const wasmfileextractionconfig_set_summarization: (a: number, b: number) => void;
|
|
1924
1927
|
export const wasmfileextractionconfig_set_timeoutSecs: (a: number, b: number, c: bigint) => void;
|
|
@@ -1926,6 +1929,7 @@ export const wasmfileextractionconfig_set_tokenReduction: (a: number, b: number)
|
|
|
1926
1929
|
export const wasmfileextractionconfig_set_transcription: (a: number, b: number) => void;
|
|
1927
1930
|
export const wasmfileextractionconfig_set_translation: (a: number, b: number) => void;
|
|
1928
1931
|
export const wasmfileextractionconfig_set_url: (a: number, b: number) => void;
|
|
1932
|
+
export const wasmfileextractionconfig_strictParse: (a: number) => number;
|
|
1929
1933
|
export const wasmfileextractionconfig_structuredExtraction: (a: number) => number;
|
|
1930
1934
|
export const wasmfileextractionconfig_summarization: (a: number) => number;
|
|
1931
1935
|
export const wasmfileextractionconfig_timeoutSecs: (a: number) => [number, bigint];
|
|
@@ -4283,9 +4287,9 @@ export const xbergengine_ner: (a: number, b: number, c: number, d: any) => any;
|
|
|
4283
4287
|
export const xbergengine_new: (a: any, b: any) => [number, number, number];
|
|
4284
4288
|
export const qcms_enable_iccv4: () => void;
|
|
4285
4289
|
export const xbergengine_ocr: (a: number, b: number, c: number, d: any) => any;
|
|
4286
|
-
export const
|
|
4287
|
-
export const
|
|
4288
|
-
export const
|
|
4290
|
+
export const wasm_bindgen__convert__closures_____invoke__h1697dacc3af5e769: (a: number, b: number, c: any, d: any) => void;
|
|
4291
|
+
export const wasm_bindgen__convert__closures_____invoke__hcbfea0afcfcd2f5c: (a: number, b: number, c: any) => [number, number];
|
|
4292
|
+
export const wasm_bindgen__convert__closures_____invoke__h697ad9e8f3481d94: (a: number, b: number) => void;
|
|
4289
4293
|
export const __wbindgen_malloc_command_export: (a: number, b: number) => number;
|
|
4290
4294
|
export const __wbindgen_realloc_command_export: (a: number, b: number, c: number, d: number) => number;
|
|
4291
4295
|
export const __wbindgen_exn_store_command_export: (a: number) => void;
|