mwe_lexicons.py: check that all words to match are present before doing expensive regex operations