|
|
1 hafta önce | |
|---|---|---|
| .. | ||
| B用户_扫描流水.yaml | 1 hafta önce | |
| README.md | 1 hafta önce | |
| 康强_北京农村商业银行_mineru.yaml | 1 hafta önce | |
| 康强_北京农村商业银行_ppstructure.yaml | 1 hafta önce | |
| 康强_北京农村商业银行_yusys_ocr.yaml | 1 hafta önce | |
| 施博深.yaml | 1 hafta önce | |
本目录存放 Table Line Editor Vue 的数据源配置文件。
每个数据源一个 YAML 文件,格式如下:
data_source:
name: "数据源名称"
description: "数据源描述"
json_format: "mineru" # 或 "ppstructure"
base_dir: "/path/to/base"
json_dir: "{{name}}/ocr_results"
image_dir: "{{name}}/images"
json_pattern: "{{ name }}_page_(?P<page>\\d{3})\\.json"
image_pattern: "{{ name }}_page_(?P<page>\\d{3})\\.png"
sort_key: "page"
output:
directory: "{{base_dir}}/{{ name }}.wiredtable"
structure_suffix: "_structure.json"
image_suffix: ".png"
batch:
enabled: true
template_name: null # 可选:默认模板名称
auto_apply: false
parallel_workers: 4
支持以下模板变量:
{{name}}: 数据源名称{{base_dir}}: 基础目录路径/api/config/data-sources 获取所有数据源