|
|
|
@ -1,19 +1,13 @@
|
|
|
|
|
import os
|
|
|
|
|
import sys
|
|
|
|
|
import itertools
|
|
|
|
|
|
|
|
|
|
import click
|
|
|
|
|
from jinja2 import Environment, FileSystemLoader
|
|
|
|
|
from markupsafe import escape
|
|
|
|
|
from uniseg.graphemecluster import grapheme_clusters
|
|
|
|
|
from ocrd_utils import initLogging
|
|
|
|
|
|
|
|
|
|
from .character_error_rate import character_error_rate_n
|
|
|
|
|
from .word_error_rate import word_error_rate_n, words_normalized
|
|
|
|
|
from .align import seq_align
|
|
|
|
|
from .extracted_text import ExtractedText
|
|
|
|
|
from .ocr_files import plain_extract
|
|
|
|
|
from .config import Config
|
|
|
|
|
from .cli import gen_diff_report, json_float
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|