Files
doczyai-pipelines/fieldExtraction/constants/mappings/numeric_mappigs.json
T
Karan Desai 5887cf651e Merged in feature/pc (pull request #773)
Feature/pc

* file read update

* removed unused code

* replace pring with logging.info

* input args for docczy output

* input args for docczy output

* added json for loading mappings

* exception for bool keys

* exception for bool keys

* added init.py

* write to s3/local functionality

* write to s3/local functionality

* logging errors and main functionality fix

* pc functionality from main

* pc functionality from main

* function signature fix

* fixed path returns

* Updated names for varaibles; Modified termination date cleaning function

* Removed commented out function

* Renamed client column names to SAAS column names

* Merge remote-tracking branch 'origin/main' into feature/pc

* removed pc utils

* black formatting

* rename function

* rename func

* additional file removed


Approved-by: Katon Minhas
2025-11-17 14:16:39 +00:00

60 lines
1.3 KiB
JSON

{
"ordinal_regex_pattern": "\\b(?:first|second|third|fourth|fifth|sixth|seventh|eighth|ninth|tenth|eleventh|twelfth|thirteenth|fourteenth|fifteenth|sixteenth|seventeenth|eighteenth|nineteenth|twentieth|twenty-first|twenty-second|twenty-third|twenty-fourth|twenty-fifth|\\d{1,2}(?:st|nd|rd|th))\\b",
"ordinal_word_to_number": {
"first": 1,
"second": 2,
"third": 3,
"fourth": 4,
"fifth": 5,
"sixth": 6,
"seventh": 7,
"eighth": 8,
"ninth": 9,
"tenth": 10,
"eleventh": 11,
"twelfth": 12,
"thirteenth": 13,
"fourteenth": 14,
"fifteenth": 15,
"sixteenth": 16,
"seventeenth": 17,
"eighteenth": 18,
"nineteenth": 19,
"twentieth": 20,
"twenty-first": 21,
"twenty-second": 22,
"twenty-third": 23,
"twenty-fourth": 24,
"twenty-fifth": 25
},
"cardinal_word_to_number": {
"one": 1,
"two": 2,
"three": 3,
"four": 4,
"five": 5,
"six": 6,
"seven": 7,
"eight": 8,
"nine": 9,
"ten": 10,
"eleven": 11,
"twelve": 12,
"thirteen": 13,
"fourteen": 14,
"fifteen": 15,
"sixteen": 16,
"seventeen": 17,
"eighteen": 18,
"nineteen": 19,
"twenty": 20,
"twenty one": 21,
"twenty two": 22,
"twenty three": 23,
"twenty four": 24,
"twenty five": 25
}
}