-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
In the following code (Line 1075), the regex is looking DOB: (in layout v1/v2), but in the examples (layout v2) I have (and in the example in your paper), this is displayed as Age: .
hvf_extraction_script/hvf_extraction_script/hvf_data/hvf_object.py
Lines 1073 to 1083 in e978747
| # ===== DOB DETECTION ===== | |
| if (layout_version == Hvf_Object.HVF_LAYOUT_V1) or (layout_version == Hvf_Object.HVF_LAYOUT_V2) or (layout_version == Hvf_Object.HVF_LAYOUT_V2_GPA): | |
| field, tokenized_header4_list = Regex_Utils.fuzzy_regex('DOB: ', tokenized_header4_list); | |
| field = Regex_Utils.remove_spaces(field); | |
| field = Regex_Utils.remove_non_numeric(field, ['-', '/']); | |
| if (layout_version == Hvf_Object.HVF_LAYOUT_V3): | |
| field, tokenized_header1_list = Regex_Utils.fuzzy_regex('Date of Birth:', tokenized_header1_list); | |
| hvf_metadata[Hvf_Object.KEYLABEL_DOB] = field; | |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
