summaryrefslogtreecommitdiff
path: root/text_recognizer/metadata
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-09-27 23:11:06 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-09-27 23:11:06 +0200
commit9c7dbb9ca70858b870f74ecf595d3169f0cbc711 (patch)
treec342e2c004bb75571a380ef2805049a8fcec3fcc /text_recognizer/metadata
parent9b8e14d89f0ef2508ed11f994f73af624155fe1d (diff)
Rename mapping to tokenizer
Diffstat (limited to 'text_recognizer/metadata')
-rw-r--r--text_recognizer/metadata/shared.py3
1 files changed, 3 insertions, 0 deletions
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"