Externalize dictionaries and add anonymization review corpus

This commit is contained in:
2026-04-21 10:32:57 +02:00
parent 39db675052
commit 34dcf8f360
99 changed files with 1805 additions and 805 deletions

View File

@@ -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")