mailgun / talon

Apache License 2.0
1.27k stars 285 forks source link

Poor results #181

Open martinblampied opened 5 years ago

martinblampied commented 5 years ago

I'm playing around with the ML example and been surprised how bad the results are. I've noticed it only seems to work if the name is included in the signature. For example something like returns None signature:

message = """Thanks Sasha, I can't go any higher and is why I limited it to the
homepage.

Martin Blampied
Facebook | Twitter | LinkedIn
"""
text, signature = signature.extract(message, sender='john.doe@example.com')

Is the "machine learning" just looking for the name or am I doing something wrong?

nicholasurban commented 5 years ago

Having the same problem

LeonAlvarez commented 5 years ago

Sender email needs to be similar to name I think