MAIF / melusine

📧 Melusine: Use python to automatize your email processing workflow
https://maif.github.io/melusine
Other
352 stars 58 forks source link

improvement of the parts-tagging HELLO and THANKS #20

Closed ghost closed 5 years ago

ghost commented 5 years ago

I designed regex that are more exhaustive for the HELLO part. Furthermore I added exceptions into the regex of the THANKS parts. Indeed, if the "merci" is followed by "de me remettre ..." then it is not a THANKS but a request ! And if the "merci" is followed by a "mais" or "cependant" then it is not just a THANKS but another request.