Spaces:
Sleeping
Sleeping
pawandev
commited on
Commit
·
dcd0c72
1
Parent(s):
a8b211b
Added some new filter value to extract data
Browse files
app/services/panServices/panDataExtractor.py
CHANGED
|
@@ -2,7 +2,7 @@ import re
|
|
| 2 |
|
| 3 |
def extract_panData(data):
|
| 4 |
unwanted_words = ["Name","/Name",'Permanent', 'Account', 'Number', 'Card', 'नाम', '/Name',
|
| 5 |
-
"पिता का नाम",'नाम / Name', "पिता का नाम/ Father's Name",
|
| 6 |
|
| 7 |
# Clean the array by removing unwanted words and invalid entries
|
| 8 |
cleaned_data = []
|
|
|
|
| 2 |
|
| 3 |
def extract_panData(data):
|
| 4 |
unwanted_words = ["Name","/Name",'Permanent', 'Account', 'Number', 'Card', 'नाम', '/Name',
|
| 5 |
+
"पिता का नाम",'नाम / Name', "पिता का नाम/ Father's Name", '414 / Name', 'पिता का नाम / Fath',"VIT VE Hra / Father's Nama", 'पिता का नाम/ Fal', 'पिता का नाम / Fathe',"पिता का नाम / Father's Na", 'जन्म की तारीख /।', 'जन्म का ताराख', "पिता का नाम/ Father's Nam", 'नाम /Name',"पिता का नाम / Father's Name", 'जन्म का वाराज़', 'Date of Birth', 'Permanent Account Number Card', "Date of Birth", "/Date of Birth", "Permanent Account Number", "Father's Name", "14 /Name", "/Father's Name"]
|
| 6 |
|
| 7 |
# Clean the array by removing unwanted words and invalid entries
|
| 8 |
cleaned_data = []
|