Update default.yaml

This commit is contained in:
Nacim
2025-06-16 03:57:22 +02:00
committed by GitHub
parent 42e46b8112
commit b7b71e9690

View File

@@ -1,81 +1,61 @@
# Configuration Presidio pour documents français/belges # Configuration NLP unifiée
nlp_configuration:
nlp_engine_name: spacy nlp_engine_name: spacy
supported_languages: [en, fr]
# Configuration des modèles NLP
models: models:
- lang_code: en - lang_code: en
model_name: en_core_web_lg model_name: en_core_web_lg
- lang_code: fr - lang_code: fr
model_name: fr_core_news_sm model_name: fr_core_news_sm
# Configuration du moteur NLP
ner_model_configuration: ner_model_configuration:
labels_to_ignore: model_to_presidio_entity_mapping:
- MISC PER: PERSON
PERSON: PERSON
ORG: ORGANIZATION
ORGANIZATION: ORGANIZATION
LOC: LOCATION
LOCATION: LOCATION
GPE: LOCATION
MISC: ORGANIZATION
confidence_threshold: confidence_threshold:
default: 0.35 default: 0.35
EMAIL_ADDRESS: 0.4 EMAIL_ADDRESS: 0.4
PHONE_NUMBER: 0.5 PHONE_NUMBER: 0.5
PERSON: 0.6 PERSON: 0.6
# Configuration des reconnaisseurs - UTILISER SEULEMENT LES RECONNAISSEURS PAR DÉFAUT labels_to_ignore:
- MISC
- CARDINAL
- EVENT
- LANGUAGE
- LAW
- MONEY
- ORDINAL
- PERCENT
- PRODUCT
- QUANTITY
- WORK_OF_ART
# Configuration des langues supportées
supported_languages:
- en
- fr
# Configuration du registre
recognizer_registry: recognizer_registry:
- default - default
# Liste des termes à ignorer (faux positifs) # Liste d'exclusion pour éviter les faux positifs
allow_list: allow_list:
- Contrat - Contrat
- contrat
- Contrats
- Document - Document
- document
- Société - Société
- Investisseur
- Montant - Montant
- Prêt
- Intérêt
- Intérêts
- Partie - Partie
- Parties
- Annexe - Annexe
- Remboursement
- Conversion
- Financement
- Sortie
- Juste Valeur Marchande
- Échéance
- Clause
- Clauses
- Principe
- Coûts
- Notifications
- Article
- Paragraphe
- Directeur
- Gérant
- Président
- Euro - Euro
- EUR - EUR
- Euros
- Pourcentage
- Taux - Taux
- Valeur - Valeur
- Prix - Prix
- Loi
- Code
- Règlement
- Décret
- Arrêté
- Janvier
- Février
- Mars
- Avril
- Mai
- Juin
- Juillet
- Août
- Septembre
- Octobre
- Novembre
- Décembre