Externalize dictionaries and add anonymization review corpus
This commit is contained in:
@@ -8,6 +8,7 @@ import sys
|
||||
sys.path.insert(0, str(Path(__file__).parent.parent))
|
||||
|
||||
import anonymizer_core_refactored_onnx as core
|
||||
from config_defaults import RUNTIME_DICTIONARIES_CONFIG_PATH
|
||||
|
||||
# Simuler exactement ce que fait le GUI
|
||||
test_pdf = Path("/tmp/test_gui_pdfs/001_simple_unknown_BACTERIO_23018396.pdf")
|
||||
@@ -27,7 +28,7 @@ try:
|
||||
out_dir=out_dir,
|
||||
make_vector_redaction=False,
|
||||
also_make_raster_burn=True,
|
||||
config_path=Path("config/dictionnaires.yml"),
|
||||
config_path=RUNTIME_DICTIONARIES_CONFIG_PATH,
|
||||
use_hf=False,
|
||||
ner_manager=None,
|
||||
ner_thresholds=None,
|
||||
|
||||
Reference in New Issue
Block a user