[+] Add more keywords

This commit is contained in:
Hykilpikonna
2021-11-23 22:07:11 -05:00
parent 988e0cbb4b
commit 28c9fcf2be
+2 -1
View File
@@ -239,7 +239,8 @@ def is_covid_related(text: str) -> bool:
# pandemics or other vaccines. However, I think we need to include "the pandemic" because many # pandemics or other vaccines. However, I think we need to include "the pandemic" because many
# posts refer to covid only as "the pandemic." # posts refer to covid only as "the pandemic."
keywords = ['covid', 'the pandemic', 'lockdown', 'spikevax', 'comirnaty', 'vaxzevria', keywords = ['covid', 'the pandemic', 'lockdown', 'spikevax', 'comirnaty', 'vaxzevria',
'coronavirus', 'moderna', 'pfizer', 'quarantine', 'vaccine'] 'coronavirus', 'moderna', 'pfizer', 'quarantine', 'vaccine', 'social distancing',
'booster shot']
# Chinese # Chinese
keywords += ['新冠', '疫情', '感染', '疫苗', '隔离'] keywords += ['新冠', '疫情', '感染', '疫苗', '隔离']