remove unused includes

pull/72/head
Max Bachmann 2 years ago
parent f3825cdeb6
commit 205a969c0e

@ -1,9 +1,6 @@
import os
import click import click
from ocrd_utils import initLogging from ocrd_utils import initLogging
from .extracted_text import ExtractedText
from .ocr_files import extract from .ocr_files import extract

@ -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

@ -1,17 +1,12 @@
from __future__ import division, print_function from __future__ import division, print_function
import unicodedata import unicodedata
from functools import partial, lru_cache
from typing import Sequence, Tuple
import numpy as np
from multimethod import multimethod from multimethod import multimethod
from uniseg.graphemecluster import grapheme_clusters from uniseg.graphemecluster import grapheme_clusters
from tqdm import tqdm
from rapidfuzz.distance import Levenshtein from rapidfuzz.distance import Levenshtein
from .extracted_text import ExtractedText from .extracted_text import ExtractedText
from .config import Config
@multimethod @multimethod

@ -3,7 +3,6 @@ from __future__ import division, print_function
import os import os
import sys import sys
from typing import Iterator from typing import Iterator
from warnings import warn
from lxml import etree as ET from lxml import etree as ET
from lxml.etree import XMLSyntaxError from lxml.etree import XMLSyntaxError

Loading…
Cancel
Save