* Add on X way regexes

This commit is contained in:
Matthew Honnibal 2015-04-16 01:35:46 +02:00
parent adcad4f353
commit 77d0700caf
1 changed files with 6 additions and 1 deletions

View File

@ -5,16 +5,21 @@ _mw_prepositions = [
'close to',
'down by',
'on the way to',
'on my way to',
'on my way',
'on his way to',
'on his way',
'on her way to',
'on her way',
'on your way to',
'on your way',
'on our way to',
'on our way',
'on their way to',
'on their way',
]
MW_PREPOSITIONS_RE = re.compile('|'.join(_mw_prepositions), flags=re.IGNORECASE)