segment.py: produce a MWE segmentation of sentences by lexicon matching