mirror of
https://github.com/qurator-spk/dinglehopper.git
synced 2025-06-12 05:09:59 +02:00
🐛 cli_line_dirs: Fix character diff reports
This commit is contained in:
parent
bf39bc1ce6
commit
b870054747
1 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ def process(gt_dir, ocr_dir, report_prefix, *, metrics=True):
|
|||
joiner="",
|
||||
none="·",
|
||||
score_hint=score_hint(l_cer, l_n_characters),
|
||||
)
|
||||
)[0]
|
||||
word_diff_report += gen_diff_report(
|
||||
gt_words,
|
||||
ocr_words,
|
||||
|
@ -89,7 +89,7 @@ def process(gt_dir, ocr_dir, report_prefix, *, metrics=True):
|
|||
joiner=" ",
|
||||
none="⋯",
|
||||
score_hint=score_hint(l_wer, l_n_words),
|
||||
)
|
||||
)[0]
|
||||
|
||||
env = Environment(
|
||||
loader=FileSystemLoader(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue