From 9c7dbb9ca70858b870f74ecf595d3169f0cbc711 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 27 Sep 2022 23:11:06 +0200 Subject: Rename mapping to tokenizer --- text_recognizer/metadata/shared.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'text_recognizer/metadata') diff --git a/text_recognizer/metadata/shared.py b/text_recognizer/metadata/shared.py index a4d1da0..cee5de4 100644 --- a/text_recognizer/metadata/shared.py +++ b/text_recognizer/metadata/shared.py @@ -1,4 +1,7 @@ from pathlib import Path +ESSENTIALS_FILENAME = ( + Path(__file__).parents[1].resolve() / "data" / "emnist_essentials.json" +) DATA_DIRNAME = Path(__file__).resolve().parents[2] / "data" DOWNLOADED_DATA_DIRNAME = DATA_DIRNAME / "downloded" -- cgit v1.2.3-70-g09d2