Skip to content

edsnlp.pipelines.ner.covid.patterns

covid = ['covid([-\\s]?19)?', 'sars[-\\s]?cov[-\\s]?2', 'corona[-\\s]?virus'] module-attribute

diseases = ['pneumopathies?', 'infections?'] module-attribute

pattern = '(' + make_pattern(diseases) + '\\s[àa]u?\\s)?' + make_pattern(covid) module-attribute