Externalize dictionaries and add anonymization review corpus
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
"""Debug force_term mechanism."""
|
||||
|
||||
import re
|
||||
import yaml
|
||||
from pathlib import Path
|
||||
|
||||
# Load config
|
||||
cfg_path = Path("config/dictionnaires.yml")
|
||||
cfg = yaml.safe_load(cfg_path.read_text(encoding="utf-8"))
|
||||
from config_defaults import RUNTIME_DICTIONARIES_CONFIG_PATH, load_effective_dictionaries_dict
|
||||
|
||||
# Load effective config
|
||||
cfg_path = RUNTIME_DICTIONARIES_CONFIG_PATH
|
||||
cfg = load_effective_dictionaries_dict(cfg_path)
|
||||
|
||||
print("=" * 80)
|
||||
print("CONFIG LOADED")
|
||||
|
||||
Reference in New Issue
Block a user