Repository navigation
feat: add ISO 4217 currencies dictionary #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,184 @@ | ||||||||
| { | ||||||||
| "_comment": "ISO 4217 currency codes (active + recently withdrawn, e.g. HRK, for historical document support) and common currency symbols for monetary amount detection.", | ||||||||
| "codes": [ | ||||||||
| "AED", | ||||||||
| "AFN", | ||||||||
| "ALL", | ||||||||
| "AMD", | ||||||||
| "ANG", | ||||||||
| "AOA", | ||||||||
| "ARS", | ||||||||
| "AUD", | ||||||||
| "AWG", | ||||||||
| "AZN", | ||||||||
| "BAM", | ||||||||
| "BBD", | ||||||||
| "BDT", | ||||||||
| "BGN", | ||||||||
| "BHD", | ||||||||
| "BIF", | ||||||||
| "BMD", | ||||||||
| "BND", | ||||||||
| "BOB", | ||||||||
| "BRL", | ||||||||
| "BSD", | ||||||||
| "BTN", | ||||||||
| "BWP", | ||||||||
| "BYN", | ||||||||
| "BZD", | ||||||||
| "CAD", | ||||||||
| "CDF", | ||||||||
| "CHF", | ||||||||
| "CLP", | ||||||||
| "CNY", | ||||||||
| "COP", | ||||||||
| "CRC", | ||||||||
| "CUP", | ||||||||
| "CVE", | ||||||||
| "CZK", | ||||||||
| "DJF", | ||||||||
| "DKK", | ||||||||
| "DOP", | ||||||||
| "DZD", | ||||||||
| "EGP", | ||||||||
| "ERN", | ||||||||
| "ETB", | ||||||||
| "EUR", | ||||||||
| "FJD", | ||||||||
| "FKP", | ||||||||
| "GBP", | ||||||||
| "GEL", | ||||||||
| "GHS", | ||||||||
| "GIP", | ||||||||
| "GMD", | ||||||||
| "GNF", | ||||||||
| "GTQ", | ||||||||
| "GYD", | ||||||||
| "HKD", | ||||||||
| "HNL", | ||||||||
| "HRK", | ||||||||
| "HTG", | ||||||||
| "HUF", | ||||||||
| "IDR", | ||||||||
| "ILS", | ||||||||
| "INR", | ||||||||
| "IQD", | ||||||||
| "IRR", | ||||||||
| "ISK", | ||||||||
| "JMD", | ||||||||
| "JOD", | ||||||||
| "JPY", | ||||||||
| "KES", | ||||||||
| "KGS", | ||||||||
| "KHR", | ||||||||
| "KMF", | ||||||||
| "KPW", | ||||||||
| "KRW", | ||||||||
| "KWD", | ||||||||
| "KYD", | ||||||||
| "KZT", | ||||||||
| "LAK", | ||||||||
| "LBP", | ||||||||
| "LKR", | ||||||||
| "LRD", | ||||||||
| "LSL", | ||||||||
| "LYD", | ||||||||
| "MAD", | ||||||||
| "MDL", | ||||||||
| "MGA", | ||||||||
| "MKD", | ||||||||
| "MMK", | ||||||||
| "MNT", | ||||||||
| "MOP", | ||||||||
| "MRU", | ||||||||
| "MUR", | ||||||||
| "MVR", | ||||||||
| "MWK", | ||||||||
| "MXN", | ||||||||
| "MYR", | ||||||||
| "MZN", | ||||||||
| "NAD", | ||||||||
| "NGN", | ||||||||
| "NIO", | ||||||||
| "NOK", | ||||||||
| "NPR", | ||||||||
| "NZD", | ||||||||
| "OMR", | ||||||||
| "PAB", | ||||||||
| "PEN", | ||||||||
| "PGK", | ||||||||
| "PHP", | ||||||||
| "PKR", | ||||||||
| "PLN", | ||||||||
| "PYG", | ||||||||
| "QAR", | ||||||||
| "RON", | ||||||||
| "RSD", | ||||||||
| "RUB", | ||||||||
| "RWF", | ||||||||
| "SAR", | ||||||||
| "SBD", | ||||||||
| "SCR", | ||||||||
| "SDG", | ||||||||
| "SEK", | ||||||||
| "SGD", | ||||||||
| "SHP", | ||||||||
| "SLE", | ||||||||
| "SOS", | ||||||||
| "SRD", | ||||||||
| "SSP", | ||||||||
| "STN", | ||||||||
| "SYP", | ||||||||
| "SZL", | ||||||||
| "THB", | ||||||||
| "TJS", | ||||||||
| "TMT", | ||||||||
| "TND", | ||||||||
| "TOP", | ||||||||
| "TRY", | ||||||||
| "TTD", | ||||||||
| "TWD", | ||||||||
| "TZS", | ||||||||
| "UAH", | ||||||||
| "UGX", | ||||||||
| "USD", | ||||||||
| "UYU", | ||||||||
| "UZS", | ||||||||
| "VES", | ||||||||
| "VND", | ||||||||
| "VUV", | ||||||||
| "WST", | ||||||||
| "XAF", | ||||||||
| "XCD", | ||||||||
| "XOF", | ||||||||
| "XPF", | ||||||||
| "YER", | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Since the intent is "active + recently withdrawn for historical document support", Suggested fix:
Suggested change
And update "_comment": "ISO 4217 currency codes (active + recently withdrawn, e.g. HRK, ZWL, for historical document support) and common currency symbols for monetary amount detection." |
||||||||
| "ZAR", | ||||||||
| "ZMW", | ||||||||
| "ZWL" | ||||||||
| ], | ||||||||
| "symbols": [ | ||||||||
|
jan-kubica marked this conversation as resolved.
|
||||||||
| "$", | ||||||||
| "£", | ||||||||
| "¥", | ||||||||
| "৳", | ||||||||
| "₡", | ||||||||
| "₦", | ||||||||
| "₩", | ||||||||
| "₪", | ||||||||
| "₫", | ||||||||
| "€", | ||||||||
| "₭", | ||||||||
| "₮", | ||||||||
| "₱", | ||||||||
| "₲", | ||||||||
| "₴", | ||||||||
| "₵", | ||||||||
| "₸", | ||||||||
| "₹", | ||||||||
| "₺", | ||||||||
| "₼", | ||||||||
| "₽", | ||||||||
| "₾" | ||||||||
| ] | ||||||||
| } | ||||||||
|
jan-kubica marked this conversation as resolved.
|
||||||||
Uh oh!
There was an error while loading. Please reload this page.