WebashalarForML commited on
Commit
d421059
1 Parent(s): 8dba865

Update utility/utils.py

Browse files
Files changed (1) hide show
  1. utility/utils.py +0 -6
utility/utils.py CHANGED
@@ -436,12 +436,6 @@ def process_resume_data(LLMdata,cont_data,extracted_text):
436
  for num in cont_data['phone_numbers']:
437
  if num[-10:] not in normalized_contact:
438
  unique_numbers.append(num)
439
-
440
- # Removing duplicate Compani
441
- unique_emails = []
442
- for email in cont_data['emails']:
443
- if email.lower() not in LLMdata['Email'].lower():
444
- unique_emails.append(email)
445
 
446
  # Add unique emails, links, and phone numbers to the original LLMdata
447
  LLMdata['Email'] += unique_emails
 
436
  for num in cont_data['phone_numbers']:
437
  if num[-10:] not in normalized_contact:
438
  unique_numbers.append(num)
 
 
 
 
 
 
439
 
440
  # Add unique emails, links, and phone numbers to the original LLMdata
441
  LLMdata['Email'] += unique_emails