|
|
@ -1,19 +1,13 @@
|
|
|
|
import os
|
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
|
|
|
import itertools
|
|
|
|
import itertools
|
|
|
|
|
|
|
|
|
|
|
|
import click
|
|
|
|
import click
|
|
|
|
from jinja2 import Environment, FileSystemLoader
|
|
|
|
from jinja2 import Environment, FileSystemLoader
|
|
|
|
from markupsafe import escape
|
|
|
|
|
|
|
|
from uniseg.graphemecluster import grapheme_clusters
|
|
|
|
|
|
|
|
from ocrd_utils import initLogging
|
|
|
|
from ocrd_utils import initLogging
|
|
|
|
|
|
|
|
|
|
|
|
from .character_error_rate import character_error_rate_n
|
|
|
|
from .character_error_rate import character_error_rate_n
|
|
|
|
from .word_error_rate import word_error_rate_n, words_normalized
|
|
|
|
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 .ocr_files import plain_extract
|
|
|
|
from .config import Config
|
|
|
|
|
|
|
|
from .cli import gen_diff_report, json_float
|
|
|
|
from .cli import gen_diff_report, json_float
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|