new full
This commit is contained in:
20
conf/recognizers/Business/generic/employee_client_ids.yaml
Normal file
20
conf/recognizers/Business/generic/employee_client_ids.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
# 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"]
|
||||
Reference in New Issue
Block a user