Skip to content

Commit 057c895

Browse files
author
Jan-Justin van Tonder
committed
Added context to TextManager for older SA IDs.
1 parent ab97148 commit 057c895

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/python/image_processing/text_manager.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,18 @@ def __init__(self):
5959
'multi_line': False
6060
}, {
6161
'field': 'surname',
62-
'find': ['surname'],
62+
'find': ['surname', 'vansurname'],
6363
'field_type': FieldType.TEXT_ONLY,
6464
'to_uppercase': False,
6565
'multi_line': True,
66-
'multi_line_end': ['names', 'fore names']
66+
'multi_line_end': ['forenames', 'names', 'voornameforenames']
6767
}, {
6868
'field': 'names',
69-
'find': ['names', 'fore names'],
69+
'find': ['forenames', 'names', 'voornameforenames'],
7070
'field_type': FieldType.TEXT_ONLY,
7171
'to_uppercase': False,
7272
'multi_line': True,
73-
'multi_line_end': ['sex', 'country of birth']
73+
'multi_line_end': ['country of birth', 'sex', 'geboortedistrik of-land']
7474
}, {
7575
'field': 'sex',
7676
'find': ['sex'],
@@ -85,7 +85,7 @@ def __init__(self):
8585
'multi_line': False
8686
}, {
8787
'field': 'country_of_birth',
88-
'find': ['country of birth'],
88+
'find': ['country of birth', 'district or country of birth'],
8989
'field_type': FieldType.TEXT_ONLY,
9090
'to_uppercase': True,
9191
'multi_line': False

0 commit comments

Comments
 (0)