mwe_lexicons.py: support ranked lists