cfg option for TK-Graph export name
This commit is contained in:
parent
254f933d90
commit
61641b5eb4
@ -1,9 +1,10 @@
|
|||||||
# d-opt -- lang_main: config file
|
# d-opt -- lang_main: config file
|
||||||
|
|
||||||
[paths]
|
[paths]
|
||||||
inputs = './lang-data/in/'
|
inputs = '../data/in/'
|
||||||
results = './lang-data/out/'
|
results = '../data/out/'
|
||||||
models = './lang-models'
|
models = './lang-models'
|
||||||
|
graph_export_filename = 'EXPORT-TokenGraph'
|
||||||
|
|
||||||
[models]
|
[models]
|
||||||
use_large_model = true
|
use_large_model = true
|
||||||
|
|||||||
@ -1,9 +1,12 @@
|
|||||||
# d-opt -- lang_main: config file
|
# d-opt -- lang_main: config file
|
||||||
|
|
||||||
[paths]
|
[paths]
|
||||||
inputs = '../lang-data/in/'
|
inputs = './lang-data/in/'
|
||||||
results = '../lang-data/out/'
|
results = './lang-data/out/'
|
||||||
models = '../lang-models'
|
models = './lang-models'
|
||||||
|
|
||||||
|
[models]
|
||||||
|
use_large_model = true
|
||||||
|
|
||||||
[logging]
|
[logging]
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|||||||
@ -60,6 +60,7 @@ save_path_cfg = LIB_PATH / Path(CONFIG['paths']['results'])
|
|||||||
SAVE_PATH_FOLDER: Final[Path] = save_path_cfg.resolve()
|
SAVE_PATH_FOLDER: Final[Path] = save_path_cfg.resolve()
|
||||||
if not SAVE_PATH_FOLDER.exists(): # pragma: no cover
|
if not SAVE_PATH_FOLDER.exists(): # pragma: no cover
|
||||||
raise FileNotFoundError(f'Output path >>{SAVE_PATH_FOLDER}<< does not exist.')
|
raise FileNotFoundError(f'Output path >>{SAVE_PATH_FOLDER}<< does not exist.')
|
||||||
|
TK_GRAPH_EXPORT_FILENAME: Final[str] = CONFIG['paths']['graph_export_filename']
|
||||||
|
|
||||||
# ** control
|
# ** control
|
||||||
SKIP_PREPROCESSING: Final[bool] = CONFIG['control']['preprocessing_skip']
|
SKIP_PREPROCESSING: Final[bool] = CONFIG['control']['preprocessing_skip']
|
||||||
|
|||||||
@ -4,6 +4,7 @@
|
|||||||
inputs = '../data/in/'
|
inputs = '../data/in/'
|
||||||
results = '../data/out/'
|
results = '../data/out/'
|
||||||
models = './lang-models'
|
models = './lang-models'
|
||||||
|
graph_export_filename = 'EXPORT-TokenGraph'
|
||||||
|
|
||||||
[models]
|
[models]
|
||||||
use_large_model = true
|
use_large_model = true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user