20 lines
791 B
YAML
20 lines
791 B
YAML
# Recognizer pour identifiants employés et clients
|
|
recognizer_registry:
|
|
recognizers:
|
|
- name: EmployeeClientIDRecognizer
|
|
supported_language: fr
|
|
supported_entity: ID_PROFESSIONNEL_BELGE
|
|
patterns:
|
|
- name: Matricule employé
|
|
regex: "\\b(?:matricule|employee|emp)\\s*:?\\s*[A-Z0-9]{4,10}\\b"
|
|
score: 0.95
|
|
- name: ID client
|
|
regex: "\\b(?:client|customer)\\s*ID\\s*:?\\s*[A-Z0-9]{4,12}\\b"
|
|
score: 0.95
|
|
- name: Code utilisateur
|
|
regex: "\\b(?:user|utilisateur)\\s*:?\\s*[a-z]+\\.[a-z]+\\b"
|
|
score: 0.9
|
|
- name: Identifiant RH
|
|
regex: "\\b(?:RH|HR)[\\-/]?[0-9]{4,8}\\b"
|
|
score: 0.85
|
|
context: ["matricule", "employé", "client", "utilisateur", "ID", "identifiant"] |