Update default.yaml

This commit is contained in:
Nacim
2025-06-24 12:58:16 +02:00
committed by GitHub
parent 9a3c1b809e
commit 54e75137e3

View File

@@ -56,10 +56,11 @@ recognizer_registry:
supported_language: fr
supported_entity: PHONE_NUMBER
patterns:
- name: Belgian Phone Pattern (+32)
- name: Belgian Phone Pattern (+32 + 8 or 9 digits)
# Cherche +32 ou 0032, suivi par 8 ou 9 chiffres, en ignorant les séparateurs
regex: "\\b(?:\\+|00)32(?:[\\s.-]?\\d){8,9}\\b"
score: 1.0
context: ["téléphone", "tel"]
score: 1.0 # Confiance maximale pour ne jamais le manquer
context: ["téléphone", "tel", "gsm", "mobile"]
- name: CustomCreditCardRecognizer
supported_language: fr