|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.columbia.cs.util.TextProcessor
Processes email text and attempts to eliminate email signatures and ascii art. Also tries to handle replied/forwarded messages by removing the >'s and replacing it with "Original Message Follows:" and ending the forwarded message section with "End of Original Message." Influenced by Emu: An Email Preprocessor for TTS.
Constructor Summary | |
TextProcessor()
Creates a new TextProcessor. |
Method Summary | |
static void |
main(java.lang.String[] args)
|
java.lang.String |
processText(java.lang.String message)
Processes email text. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TextProcessor()
Method Detail |
public java.lang.String processText(java.lang.String message)
message
- the message to processpublic static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |