|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BayesianAnalyzerManagementMBean
Expose spool management functionality through JMX.
Method Summary | |
---|---|
int |
addHamFromDir(java.lang.String dir)
adds data to existing corpus by importing all the mails contained in the given dir as ham |
int |
addHamFromMbox(java.lang.String file)
adds data to existing corpus by importing all the mails contained in the given mbox as ham |
int |
addSpamFromDir(java.lang.String dir)
adds data to existing corpus by importing all the mails contained in the given dir as spam |
int |
addSpamFromMbox(java.lang.String file)
adds data to existing corpus by importing all the mails contained in the given mbox as spam |
void |
exportData(java.lang.String file)
exports the corpus to a file |
void |
importData(java.lang.String file)
imports the corpus from a file |
void |
resetData()
reset trained data |
Method Detail |
---|
int addHamFromDir(java.lang.String dir) throws BayesianAnalyzerManagementException
dir
- full path to the directory containing mail files
BayesianAnalyzerManagementException
int addSpamFromDir(java.lang.String dir) throws BayesianAnalyzerManagementException
dir
- full path to the directory containing mail files
BayesianAnalyzerManagementException
int addHamFromMbox(java.lang.String file) throws BayesianAnalyzerManagementException
file
- path to the mbox file
BayesianAnalyzerManagementException
int addSpamFromMbox(java.lang.String file) throws BayesianAnalyzerManagementException
file
- path to the mbox file
BayesianAnalyzerManagementException
void exportData(java.lang.String file) throws BayesianAnalyzerManagementException
file
- path to the mbox file
BayesianAnalyzerManagementException
void importData(java.lang.String file) throws BayesianAnalyzerManagementException
file
- path to the mbox file
BayesianAnalyzerManagementException
void resetData() throws BayesianAnalyzerManagementException
BayesianAnalyzerManagementException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |