jaraco / inflect

Correctly generate plurals, ordinals, indefinite articles; convert numbers to words
https://pypi.org/project/inflect
MIT License
971 stars 106 forks source link

Reversed Present participles #79

Open woolz opened 5 years ago

woolz commented 5 years ago

Eg: running -> runs killed -> kills

How can i do this?

jaraco commented 3 years ago

First things first, I tried invoking present_participle on runs and kills, but got something different from the reverse of what you've proposed:

>>> eng.present_participle('runs')
'running'
>>> eng.present_participle('kills')
'killing'

I suspect killed is past participle (not implemented).

Regardless, what you're asking for doesn't exist, so would be a feature enhancement. Is it something you wish to work on? Could you start by explaining why and where the functionality you desire would be useful?