This flow takes the k9 email subject and classifies it as important or unimportant. Important mails will be read aloud. Classification is done through text mining by storing the email subjects (standard:the last 50 mails, but you can edit this in the first Action of the flow) and their words as a learn set. Each time a subject is classified, the flow learns from the learnset and the probability of the words being important or unimportant is calculated using the Bayes algorithm (the lowest 2 actions in the flow will reveil the magic...).
Start the flow manually (or send yourself an email without a subject ) to maintain the classified subjects. The flow will learn from your corrections.
!!Important!!
Please be aware that you must maintain the email classification a few times before your emails are categorized correctly. At first all received emails will be classified as "important". You must manually select a few emails and categorize them as "unimportant", so the flow can learn from your input.
Automatic email classification (important/unimportant)
Moderator: Martin
-
- Posts: 19
- Joined: 20 Mar 2014 09:00
Automatic email classification (important/unimportant)
- Attachments
-
- flow_Categorize_email_subjects_with_Bayes.xml
- (47.96 KiB) Downloaded 1256 times
Re: Automatic email classification (important/unimportant)
WOW! What a tremendous job!!
-
- Posts: 186
- Joined: 12 Feb 2014 01:45
Re: Automatic email classification (important/unimportant)
Fantastic ,
even though I might not use your script for k9, it is truly fantastic, since your amazing flow has so many examples of scripting with explanation , which I can adapt to my own flows. I learn so much about the scripting structure in AM by this flow!
even though I might not use your script for k9, it is truly fantastic, since your amazing flow has so many examples of scripting with explanation , which I can adapt to my own flows. I learn so much about the scripting structure in AM by this flow!
Best regards,
AngelAtwOrk
AngelAtwOrk
-
- Posts: 7
- Joined: 02 Nov 2014 20:52
Re: Automatic email classification (important/unimportant)
Hi,
Thanks for the great flow but the bayes_emailsubjects.txt is flooding by spaces. Is this a feature? I think no...
greets
Thanks for the great flow but the bayes_emailsubjects.txt is flooding by spaces. Is this a feature? I think no...
greets
-
- Posts: 186
- Joined: 12 Feb 2014 01:45
Re: Automatic email classification (important/unimportant)
Hi, have you considered adding the choice to label the emails important by sender instead of subject or by sender and subject?
Best regards AngelAtwOrk
Best regards AngelAtwOrk
Best regards,
AngelAtwOrk
AngelAtwOrk