Files
OCR/frontend/src/i18n/locales/zh-TW.json
egg 95ae1f1bdb feat: add table detection options and scan artifact removal
- Add TableDetectionSelector component for wired/wireless/region detection
- Add CV-based table line detector module (disabled due to poor performance)
- Add scan artifact removal preprocessing step (removes faint horizontal lines)
- Add PreprocessingConfig schema with remove_scan_artifacts option
- Update frontend PreprocessingSettings with scan artifact toggle
- Integrate table detection config into ProcessingPage
- Archive extract-table-cell-boxes proposal

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 13:21:50 +08:00

232 lines
7.7 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"app": {
"title": "OCR 批次處理系統",
"subtitle": "智能文字識別與轉換平台"
},
"nav": {
"upload": "上傳檔案",
"processing": "處理中",
"results": "結果檢視",
"export": "匯出",
"settings": "設定",
"logout": "登出"
},
"auth": {
"login": "登入",
"username": "使用者名稱",
"password": "密碼",
"loginButton": "登入",
"loginError": "登入失敗,請檢查帳號密碼",
"welcomeBack": "歡迎回來"
},
"upload": {
"title": "上傳檔案",
"dragAndDrop": "拖曳檔案至此,或點擊選擇檔案",
"dropFilesHere": "放開以上傳檔案",
"invalidFiles": "部分檔案格式不支援",
"supportedFormats": "支援格式PNG, JPG, JPEG, PDF, DOC, DOCX, PPT, PPTX",
"maxFileSize": "單檔最大 50MB",
"uploadButton": "開始上傳",
"uploading": "上傳中...",
"uploadSuccess": "上傳成功",
"uploadError": "上傳失敗",
"fileCount": "已選擇 {{count}} 個檔案",
"clearAll": "清除全部",
"removeFile": "移除",
"selectedFiles": "已選擇的檔案"
},
"processing": {
"title": "OCR 處理中",
"status": "狀態",
"progress": "進度",
"currentFile": "目前處理",
"filesProcessed": "已處理 {{processed}} / {{total}} 個檔案",
"startProcessing": "開始處理",
"processing": "處理中...",
"completed": "處理完成",
"failed": "處理失敗",
"pending": "等待中",
"estimatedTime": "預計剩餘時間",
"settings": {
"title": "處理設定",
"language": "識別語言",
"threshold": "信心度閾值",
"layoutDetection": "版面偵測"
},
"layoutModel": {
"title": "版面偵測模型",
"chinese": "中文文件模型",
"chineseDesc": "PP-DocLayout_plus-L (83.2% mAP) - 適用於複雜中文文件支援20種版面元素推薦",
"default": "標準模型",
"defaultDesc": "PubLayNet 模型 (~94% mAP) - 適用於英文學術論文、報告",
"cdla": "CDLA 模型",
"cdlaDesc": "CDLA 版面分析模型 (~86% mAP) - 專用中文版面分析",
"recommended": "推薦",
"note": "版面模型會影響文件結構(表格、文字區塊、圖片)的偵測效果。請根據您的文件類型選擇適合的模型。"
},
"tableDetection": {
"title": "表格偵測模式",
"wired": "有框線表格",
"wiredDesc": "偵測有明顯格線邊框的表格,適用於正式表格文件",
"wireless": "無框線表格",
"wirelessDesc": "偵測無邊框的表格,透過對齊方式推斷表格結構",
"region": "區域偵測",
"regionDesc": "輔助偵測表格區域,改善複雜表格的儲存格識別",
"note": "可同時啟用多種偵測模式,系統會自動整合偵測結果。如果表格儲存格框線不正確,請嘗試調整偵測模式。"
},
"preprocessing": {
"title": "影像前處理",
"mode": {
"auto": "自動模式",
"autoDesc": "系統自動分析影像品質,決定最佳的前處理方式和強度",
"manual": "手動模式",
"manualDesc": "手動選擇前處理選項和強度,完全控制處理流程",
"disabled": "停用前處理",
"disabledDesc": "不進行任何前處理,直接使用原始影像"
},
"recommended": "推薦",
"preview": "預覽效果",
"manualConfig": "手動設定選項",
"contrast": {
"label": "對比度增強",
"none": "不增強",
"histogram": "直方圖均衡化",
"clahe": "CLAHE 自適應均衡化",
"document": "掃描件優化 (背景校正+CLAHE)"
},
"sharpen": "邊緣銳化",
"strength": {
"label": "強度",
"subtle": "輕微",
"normal": "正常",
"strong": "強",
"maximum": "最強"
},
"removeScanArtifacts": "移除掃描瑕疵",
"removeScanArtifactsDesc": "移除掃描時光源產生的水平線痕,避免被誤判為表格框線",
"advanced": "進階選項",
"binarize": "二值化處理",
"binarizeWarning": "不建議使用",
"note": "前處理僅影響版面偵測階段,用於改善表格和文字區塊的識別。原始影像仍用於最終的 OCR 文字提取,確保最佳識別品質。",
"previewPanel": {
"title": "前處理預覽",
"loading": "載入預覽中...",
"loadError": "載入預覽失敗",
"refresh": "重新整理預覽",
"original": "原始影像",
"preprocessed": "前處理後",
"fullscreen": "全螢幕檢視",
"qualityAnalysis": "影像品質分析",
"contrast": "對比度",
"sharpness": "清晰度",
"qualityLow": "低",
"qualityMedium": "中",
"qualityHigh": "高",
"qualityBlurry": "模糊",
"qualityNormal": "一般",
"qualitySharp": "清晰",
"autoDetectedConfig": "自動偵測設定",
"contrastEnhancement": "對比度增強",
"sharpenEnabled": "啟用",
"sharpenDisabled": "停用"
}
}
},
"results": {
"title": "OCR 結果",
"filename": "檔案名稱",
"status": "狀態",
"confidence": "信心度",
"processingTime": "處理時間",
"actions": "操作",
"viewMarkdown": "檢視 Markdown",
"viewJSON": "檢視 JSON",
"downloadPDF": "下載 PDF",
"preview": "預覽",
"noResults": "尚無處理結果",
"textBlocks": "文字區塊",
"layoutInfo": "版面資訊"
},
"export": {
"title": "匯出結果",
"format": "匯出格式",
"formats": {
"txt": "純文字 (.txt)",
"json": "JSON (.json)",
"excel": "Excel (.xlsx)",
"markdown": "Markdown (.md)",
"pdf": "PDF (.pdf)"
},
"options": {
"title": "匯出選項",
"confidenceThreshold": "信心度閾值",
"includeMetadata": "包含元資料",
"filenamePattern": "檔案名稱模式",
"cssTemplate": "CSS 樣板"
},
"rules": {
"title": "匯出規則",
"selectRule": "選擇規則",
"saveRule": "儲存規則",
"newRule": "新增規則",
"ruleName": "規則名稱",
"deleteRule": "刪除規則"
},
"cssTemplates": {
"default": "預設",
"academic": "學術",
"business": "商務",
"report": "報告"
},
"exportButton": "匯出",
"exporting": "匯出中...",
"exportSuccess": "匯出成功",
"exportError": "匯出失敗"
},
"settings": {
"title": "設定",
"exportRules": "匯出規則管理",
"language": "語言",
"theme": "主題",
"about": "關於"
},
"common": {
"confirm": "確認",
"cancel": "取消",
"save": "儲存",
"delete": "刪除",
"edit": "編輯",
"close": "關閉",
"loading": "載入中...",
"error": "錯誤",
"success": "成功",
"warning": "警告",
"info": "資訊",
"search": "搜尋",
"filter": "篩選",
"sort": "排序",
"refresh": "重新整理",
"back": "返回",
"next": "下一步",
"previous": "上一步",
"submit": "提交"
},
"errors": {
"networkError": "網路錯誤,請稍後再試",
"unauthorized": "未授權,請重新登入",
"notFound": "找不到資源",
"serverError": "伺服器錯誤",
"validationError": "驗證錯誤",
"fileTooBig": "檔案過大",
"unsupportedFormat": "不支援的格式",
"uploadFailed": "上傳失敗",
"processingFailed": "處理失敗",
"exportFailed": "匯出失敗"
},
"translation": {
"title": "翻譯功能",
"comingSoon": "即將推出",
"description": "文件翻譯功能正在開發中,敬請期待"
}
}