From 8d926873b3ccd7c4a08c52343b78c06e1739a432 Mon Sep 17 00:00:00 2001 From: Johan Gustafsson <184952+gustafsson@users.noreply.github.com> Date: Tue, 19 Nov 2019 09:47:33 +0100 Subject: [PATCH] whiltelist -> whitelist --- src/index.d.ts | 2 +- src/worker-script/constants/defaultParams.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.d.ts b/src/index.d.ts index 05a59bb..9df6184 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -37,7 +37,7 @@ declare namespace Tesseract { interface WorkerParams { tessedit_ocr_engine_mode: OEM tessedit_pageseg_mode: PSM - tessedit_char_whiltelist: string + tessedit_char_whitelist: string tessjs_create_hocr: string tessjs_create_tsv: string tessjs_create_box: string diff --git a/src/worker-script/constants/defaultParams.js b/src/worker-script/constants/defaultParams.js index e0e946d..929604f 100644 --- a/src/worker-script/constants/defaultParams.js +++ b/src/worker-script/constants/defaultParams.js @@ -5,7 +5,7 @@ const PSM = require('../../constants/PSM'); module.exports = { tessedit_pageseg_mode: PSM.SINGLE_BLOCK, - tessedit_char_whiltelist: '', + tessedit_char_whitelist: '', tessjs_create_hocr: '1', tessjs_create_tsv: '1', tessjs_create_box: '0',