Externalize dictionaries and add anonymization review corpus
This commit is contained in:
@@ -8,6 +8,7 @@ sys.path.insert(0, '.')
|
||||
|
||||
from pathlib import Path
|
||||
import re
|
||||
from config_defaults import RUNTIME_DICTIONARIES_CONFIG_PATH
|
||||
from anonymizer_core_refactored_onnx import process_pdf
|
||||
import time
|
||||
|
||||
@@ -47,7 +48,7 @@ def test_all_cro():
|
||||
output_dir,
|
||||
make_vector_redaction=False,
|
||||
also_make_raster_burn=False,
|
||||
config_path=Path("config/dictionnaires.yml")
|
||||
config_path=RUNTIME_DICTIONARIES_CONFIG_PATH
|
||||
)
|
||||
|
||||
# Lire le texte anonymisé
|
||||
|
||||
Reference in New Issue
Block a user