Skip to content
Snippets Groups Projects
Commit ff03ec87 authored by Vít Starý Novotný's avatar Vít Starý Novotný
Browse files

Fix type and style errors

parent 4f0d51c7
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -6,10 +6,6 @@ import ctypes
csv.field_size_limit(int(ctypes.c_ulong(-1).value // 2))
import logging
CSV_PARAMETERS = {
'delimiter': ',',
'quotechar': '"',
......
......@@ -15,9 +15,11 @@ from multiprocessing import Pool
from pathlib import Path
import sys
from gensim.corpora.dictionary import Dictionary
from gensim.models.tfidfmodel import TfidfModel
from tqdm import tqdm
from .common import read_filenames, image_filename_to_book, load_all_ocr_texts, get_cossims, tokenize, get_tfidf as _get_tfidf, Dictionary, TfidfModel, index_images, preprocess_image, read_book_ids
from .common import read_filenames, image_filename_to_book, load_all_ocr_texts, get_cossims, tokenize, get_tfidf as _get_tfidf, index_images, preprocess_image, read_book_ids
INPUT_ROOT = Path(sys.argv[1])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment