pattern
pattern copied to clipboard
Fix/english particle verbs to dev
Correct results for pattern.en.lemma/pattern.en.conjugate/pattern.en.tenses with particle verbs by splitting the input into verb stem and sattelites (first word and everything else) before doing the base class _Verb processing.
example:
>>> import pattern.en as enp
>>> print(enp.conjugate("dispose of", list(enp.tenses("discarded"))[0])) # old result was: 'dispose offed'
'disposed of'