Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
G
I
J
L
O
R
S
T
U
A
addHam(Reader)
- Method in class org.apache.james.ai.classic.
BayesianAnalyzer
Adds a message to the ham list.
addSpam(Reader)
- Method in class org.apache.james.ai.classic.
BayesianAnalyzer
Adds a message to the spam list.
B
BayesianAnalysis
- Class in
org.apache.james.ai.classic
Spam detection mailet using bayesian analysis techniques.
BayesianAnalysis()
- Constructor for class org.apache.james.ai.classic.
BayesianAnalysis
BayesianAnalysisFeeder
- Class in
org.apache.james.ai.classic
Feeds ham OR spam messages to train the
BayesianAnalysis
mailet.
BayesianAnalysisFeeder()
- Constructor for class org.apache.james.ai.classic.
BayesianAnalysisFeeder
BayesianAnalyzer
- Class in
org.apache.james.ai.classic
Determines probability that text contains Spam.
BayesianAnalyzer()
- Constructor for class org.apache.james.ai.classic.
BayesianAnalyzer
Basic class constructor.
buildCorpus()
- Method in class org.apache.james.ai.classic.
BayesianAnalyzer
Builds the corpus from the existing ham & spam counts.
C
clear()
- Method in class org.apache.james.ai.classic.
BayesianAnalyzer
Clears all analysis repositories and counters.
computeSpamProbability(Reader)
- Method in class org.apache.james.ai.classic.
BayesianAnalyzer
Computes the probability that the stream contains SPAM.
D
DATABASE_LOCK
- Static variable in class org.apache.james.ai.classic.
JDBCBayesianAnalyzer
Public object representing a lock on database activity.
delegatedLog(String)
- Method in class org.apache.james.ai.classic.
JDBCBayesianAnalyzer
An abstract method which child classes override to handle logging of errors in their particular environments.
G
getCorpus()
- Method in class org.apache.james.ai.classic.
BayesianAnalyzer
Public getter for corpus.
getHamMessageCount()
- Method in class org.apache.james.ai.classic.
BayesianAnalyzer
Public getter for hamMessageCount.
getHamTokenCounts()
- Method in class org.apache.james.ai.classic.
BayesianAnalyzer
Public getter for the hamTokenCounts Map.
getLastCorpusLoadTime()
- Method in class org.apache.james.ai.classic.
BayesianAnalysis
Getter for property lastCorpusLoadTime.
getLastDatabaseUpdateTime()
- Static method in class org.apache.james.ai.classic.
JDBCBayesianAnalyzer
Getter for static lastDatabaseUpdateTime.
getMailetInfo()
- Method in class org.apache.james.ai.classic.
BayesianAnalysis
Return a string describing this mailet.
getMailetInfo()
- Method in class org.apache.james.ai.classic.
BayesianAnalysisFeeder
Return a string describing this mailet.
getMaxSize()
- Method in class org.apache.james.ai.classic.
BayesianAnalysis
Getter for property maxSize.
getMaxSize()
- Method in class org.apache.james.ai.classic.
BayesianAnalysisFeeder
Getter for property maxSize.
getSpamMessageCount()
- Method in class org.apache.james.ai.classic.
BayesianAnalyzer
Public getter for spamMessageCount.
getSpamTokenCounts()
- Method in class org.apache.james.ai.classic.
BayesianAnalyzer
Public getter for the spamTokenCounts Map.
getSqlFileName()
- Method in class org.apache.james.ai.classic.
JDBCBayesianAnalyzer
Getter for property sqlFileName.
getSqlParameters()
- Method in class org.apache.james.ai.classic.
JDBCBayesianAnalyzer
Getter for property sqlParameters.
I
init()
- Method in class org.apache.james.ai.classic.
BayesianAnalysis
Mailet initialization routine.
init()
- Method in class org.apache.james.ai.classic.
BayesianAnalysisFeeder
Mailet initialization routine.
initSqlQueries(Connection, Document)
- Method in class org.apache.james.ai.classic.
JDBCBayesianAnalyzer
Initializes the sql query environment from the SqlResources file.
J
JDBCBayesianAnalyzer
- Class in
org.apache.james.ai.classic
Manages the persistence of the spam bayesian analysis corpus using a JDBC database.
JDBCBayesianAnalyzer()
- Constructor for class org.apache.james.ai.classic.
JDBCBayesianAnalyzer
Default constructor.
L
loadHamNSpam(Connection)
- Method in class org.apache.james.ai.classic.
JDBCBayesianAnalyzer
Loads the token frequencies from the database.
O
org.apache.james.ai.classic
- package org.apache.james.ai.classic
R
readXml(String)
- Method in interface org.apache.james.ai.classic.
SystemContext
resetData(Connection)
- Method in class org.apache.james.ai.classic.
JDBCBayesianAnalyzer
Reset all trained data
S
service(Mail)
- Method in class org.apache.james.ai.classic.
BayesianAnalysis
Scans the mail and determines the spam probability.
service(Mail)
- Method in class org.apache.james.ai.classic.
BayesianAnalysisFeeder
Scans the mail and updates the token frequencies in the database.
setCorpus(Map<String, Double>)
- Method in class org.apache.james.ai.classic.
BayesianAnalyzer
Public setter for corpus.
setDataSource(DataSource)
- Method in class org.apache.james.ai.classic.
BayesianAnalysis
setDataSource(DataSource)
- Method in class org.apache.james.ai.classic.
BayesianAnalysisFeeder
setFileSystem(SystemContext)
- Method in class org.apache.james.ai.classic.
BayesianAnalysis
setFileSystem(SystemContext)
- Method in class org.apache.james.ai.classic.
BayesianAnalysisFeeder
setHamMessageCount(int)
- Method in class org.apache.james.ai.classic.
BayesianAnalyzer
Public setter for hamMessageCount.
setHamTokenCounts(Map<String, Integer>)
- Method in class org.apache.james.ai.classic.
BayesianAnalyzer
Public setter for the hamTokenCounts Map.
setMaxSize(int)
- Method in class org.apache.james.ai.classic.
BayesianAnalysis
Setter for property maxSize.
setMaxSize(int)
- Method in class org.apache.james.ai.classic.
BayesianAnalysisFeeder
Setter for property maxSize.
setSpamMessageCount(int)
- Method in class org.apache.james.ai.classic.
BayesianAnalyzer
Public setter for spamMessageCount.
setSpamTokenCounts(Map<String, Integer>)
- Method in class org.apache.james.ai.classic.
BayesianAnalyzer
Public setter for the spamTokenCounts Map.
setSqlFileName(String)
- Method in class org.apache.james.ai.classic.
JDBCBayesianAnalyzer
Setter for property sqlFileName.
setSqlParameters(Map<String, String>)
- Method in class org.apache.james.ai.classic.
JDBCBayesianAnalyzer
Setter for property sqlParameters.
SystemContext
- Interface in
org.apache.james.ai.classic
Lightweight, read only filesystem access.
T
tokenCountsClear()
- Method in class org.apache.james.ai.classic.
BayesianAnalyzer
Clears token counters.
touchLastDatabaseUpdateTime()
- Static method in class org.apache.james.ai.classic.
JDBCBayesianAnalyzer
Sets static lastDatabaseUpdateTime to System.currentTimeMillis().
U
updateHamTokens(Connection)
- Method in class org.apache.james.ai.classic.
JDBCBayesianAnalyzer
Updates the database with new "ham" token frequencies.
updateSpamTokens(Connection)
- Method in class org.apache.james.ai.classic.
JDBCBayesianAnalyzer
Updates the database with new "spam" token frequencies.
A
B
C
D
G
I
J
L
O
R
S
T
U
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2011
The Apache Software Foundation
. All Rights Reserved.