jangada
Class SigFileDetector
java.lang.Object
jangada.SigFileDetector
- public class SigFileDetector
- extends java.lang.Object
Classify an incoming email message as having or not a Signature File.
It follows the description in "Learning to Extract Signature and Reply Lines from Email",
V.R.Carvalho and W.W.Cohen, CEAS (Conference of Email and Anti-Span), 2004
Uses the last 10 last lines of email message.
- Author:
- Vitor R. Carvalho - May 2004
Method Summary |
boolean |
hasSig(java.lang.String wholeMessage)
Detects if there is a sig in the email message. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
CURRENT_VERSION_NUMBER
public final int CURRENT_VERSION_NUMBER
- See Also:
- Constant Field Values
SigFileDetector
public SigFileDetector()
hasSig
public boolean hasSig(java.lang.String wholeMessage)
- Detects if there is a sig in the email message.
- Returns:
- boolean - true, the msg has a sig. False, otherwise.
main
public static void main(java.lang.String[] args)