shreyanid 6db663e7bb
refactor: separate click wrappers from core evaluation functionality (#1981)
### Summary
Click decorated functions cannot (properly) be called outside of the
click interface. This makes it difficult to reuse the setup
functionality in measure_text_edit_distance or
measure_element_type_accuracy. This PR removes the click decoration and
separates it into a wrapper function purely to execute the command.

### Technical Details
- Changed as suggested in [this StackOverflow
post](https://stackoverflow.com/questions/40091347/call-another-click-command-from-a-click-command)
response
- The locations of these now distinct functions are separate: the
`_command` click-decorated functions stay in ingest/evaluate.py, and the
core functions measure_text_edit_distance and
measure_element_type_accuracy are moved into the unstructured/metrics/
folder (which is a more logical location for them).
- Initial test added for measure_text_edit_distance

### Test
`sh ./test_unstructured_ingest/evaluation-metrics.sh text-extraction`
functionality is unchanged.

---------

Co-authored-by: ryannikolaidis <1208590+ryannikolaidis@users.noreply.github.com>
Co-authored-by: shreyanid <shreyanid@users.noreply.github.com>
Co-authored-by: Trevor Bossert <37596773+tabossert@users.noreply.github.com>
2023-11-07 19:54:22 +00:00

164 lines
3.6 KiB
Plaintext

Code Symbol Name
AED . United Arab Emirates d
AFN Afghan afghani
ALL L Albanian lek
AMD AMD Armenian dram
ANG Netherlands Antillean gu
AOA Kz Angolan kwanza
ARS $ Argentine peso
AUD $ Australian dollar
AWG Afl. Aruban florin
AZN AZN Azerbaijani manat
BAM KM Bosnia and Herzegovina
BBD $ Barbadian dollar
BDT Bangladeshi taka
BGN . Bulgarian lev
BHD .. Bahraini dinar
BIF Fr Burundian franc
BMD $ Bermudian dollar
BND $ Brunei dollar
BOB Bs. Bolivian boliviano
BRL R$ Brazilian real
BSD $ Bahamian dollar
BTC Bitcoin
BTN Nu. Bhutanese ngultrum
BWP P Botswana pula
BYR Br Belarusian ruble (old)'
BYN Br Belarusian ruble
BZD $ Belize dollar
CAD $ Canadian dollar
CDF Fr Congolese franc
CHF CHF Swiss franc
CLP $ Chilean peso
CNY Chinese yuan
COP $ Colombian peso
CRC Costa Rican coln
CUC $ Cuban convertible peso')
CUP $ Cuban peso
CVE $ Cape Verdean escudo
CZK K Czech koruna
DJF Fr Djiboutian franc
DKK DKK Danish krone
DOP RD$ Dominican peso
DZD . Algerian dinar
EGP EGP Egyptian pound
ERN Nfk Eritrean nakfa
ETB Br Ethiopian birr
EUR Euro
FJD $ Fijian dollar
FKP Falkland Islands pound')
GBP Pound sterling
GEL Georgian lari
GGP Guernsey pound
GHS Ghana cedi
GIP Gibraltar pound
GMD D Gambian dalasi
GNF Fr Guinean franc
GTQ Q Guatemalan quetzal
GYD $ Guyanese dollar
HKD $ Hong Kong dollar
HNL L Honduran lempira
HRK kn Croatian kuna
HTG G Haitian gourde
HUF Ft Hungarian forint
IDR Rp Indonesian rupiah
ILS Israeli new shekel
IMP Manx pound
INR Indian rupee
IQD . Iraqi dinar
IRR Iranian rial
IRT Iranian toman
ISK kr. Icelandic krna
JEP Jersey pound
JMD $ Jamaican dollar
JOD . Jordanian dinar
JPY Japanese yen
KES KSh Kenyan shilling
KGS Kyrgyzstani som
KHR Cambodian riel
KMF Fr Comorian franc
KPW North Korean won
KRW South Korean won
KWD . Kuwaiti dinar
KYD $ Cayman Islands dollar
KZT Kazakhstani tenge
LAK Lao kip
LBP . Lebanese pound
LKR Sri Lankan rupee
LRD $ Liberian dollar
LSL L Lesotho loti
LYD . Libyan dinar
MAD .. Moroccan dirham
MDL MDL Moldovan leu
MGA Ar Malagasy ariary
MKD Macedonian denar
MMK Ks Burmese kyat
MNT Mongolian tgrg
MOP P Macanese pataca
MRU UM Mauritanian ouguiya
MUR Mauritian rupee
MVR . Maldivian rufiyaa
MWK MK Malawian kwacha
MXN $ Mexican peso
MYR RM Malaysian ringgit
MZN MT Mozambican metical
NAD N$ Namibian dollar
NGN Nigerian naira
NIO C$ Nicaraguan crdoba
NOK kr Norwegian krone
NPR Nepalese rupee
NZD $ New Zealand dollar
OMR .. Omani rial
PAB B/. Panamanian balboa
PEN S/ Sol
PGK K Papua New Guinean kina')
PHP Philippine peso
PKR Pakistani rupee
PLN z Polish zoty
PRB . Transnistrian ruble
PYG Paraguayan guaran
QAR . Qatari riyal
RON lei Romanian leu
RSD Serbian dinar
RUB Russian ruble
RWF Fr Rwandan franc
SAR . Saudi riyal
SBD $ Solomon Islands dollar')
SCR Seychellois rupee
SDG .. Sudanese pound
SEK kr Swedish krona
SGD $ Singapore dollar
SHP Saint Helena pound
SLL Le Sierra Leonean leone
SOS Sh Somali shilling
SRD $ Surinamese dollar
SSP South Sudanese pound
STN Db So Tom and Prncipe d
SYP . Syrian pound
SZL L Swazi lilangeni
THB Thai baht
TJS Tajikistani somoni
TMT m Turkmenistan manat
TND . Tunisian dinar
TOP T$ Tongan paanga
TRY Turkish lira
TTD $ Trinidad and Tobago doll
TWD NT$ New Taiwan dollar
TZS Sh Tanzanian shilling
UAH Ukrainian hryvnia
UGX UGX Ugandan shilling
USD $ United States (US) dolla
UYU $ Uruguayan peso
UZS UZS Uzbekistani som
VEF Bs F Venezuelan bolvar
VES Bs.S Bolvar soberano
VND Vietnamese ng
VUV Vt Vanuatu vatu
WST T Samoan tl
XAF CFA Central African CFA fr
XCD $ East Caribbean dollar
XOF CFA West African CFA franc
XPF Fr CFP franc
YER Yemeni rial
ZAR R South African rand
ZMW ZK Zambian kwacha