def get_deaths_incremental(paragraphs):
    return get_item(paragraphs, ["au fost înregistrate+(.[ 0-9.]*)"])
def get_ati_patients(paragraphs):
    return get_item(paragraphs,
                    ["La ATI, în acest moment, sunt internați+(.[0-9]*)"])
def get_recovered(paragraphs):
    return get_item(paragraphs,
                    ["Dintre persoanele confirmate pozitiv,+(.[ 0-9.]*)"])
def get_deaths(paragraphs):
    return get_item(paragraphs, [
        "Totodată, până acum,+(.[ 0-9.]*)",
        "Până astăzi,+(.[ 0-9.]*) persoane diagnosticate cu infecție cu COVID-19 au decedat"
    ])
def get_confirmed(paragraphs):
    return get_item(paragraphs,
                    ["pe teritoriul României, au fost confirmate+(.[ 0-9.]*)"])
def get_tests(paragraphs):
    return get_item(paragraphs, [
        "Până la această dată, la nivel național, au fost prelucrate+(.[ 0-9.]*)"
    ])
def get_isolation(paragraphs):
    return get_item(paragraphs, ["persoane. Alte +(.[ 0-9.]*)"])
def get_quarantine(paragraphs):
    return get_item(paragraphs,
                    ["în carantină instituționalizată sunt+(.[ 0-9.]*)"])
Esempio n. 9
0
def get_recovered(paragraphs):
    return get_item(paragraphs, [
        "Dintre persoanele confirmate pozitiv,+(.[ 0-9.]*)",
        "(^[ 0-9.]*)+ de pacienți au fost declarați vindecați"
    ])