jangada
Class SigFileDetector

java.lang.Object
  extended byjangada.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

Nested Class Summary
 class SigFileDetector.SigDetectorByLine
          Inner class to help extracting the features from last line of message.
 
Field Summary
 int CURRENT_VERSION_NUMBER
           
static long serialVersionUID
           
 
Constructor Summary
SigFileDetector()
           
 
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
 

Field Detail

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
Constructor Detail

SigFileDetector

public SigFileDetector()
Method Detail

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)