ze-filter
(ze-filter-0.8.0-develop-180218)
|
Go to the source code of this file.
Classes | |
struct | bfilter_T |
struct | sfilter_token_T |
Macros | |
#define | BFLAG_TRFTOK 2 |
#define | BFLAG_DEFAULT (BFLAG_TRFTOK) |
#define | BFHISTODIM 21 |
#define | CL_TYPE_NP 0 |
#define | CL_TYPE_NB 1 |
#define | CL_FS_EP 0 |
#define | CL_FS_MI 1 |
#define | CF_FS_TFIDF 2 |
#define | BFILTER_INITIALIZER |
#define | UT_PROB 0.5 |
#define | __ZE_BFILTER_H 1 |
Typedefs | |
typedef struct sfilter_token_T | sfilter_token_T |
typedef int(* | btsm_browse_F) (void *, void *) |
typedef int(* | smodel_db_browse_F) (void *, void *, void *) |
Functions | |
bfilter_T * | bfilter_ptr () |
bool | bfilter_init (char *dbname) |
bool | bfilter_db_open () |
bool | bfilter_db_reopen () |
bool | bfilter_close () |
bool | bfilter_ok () |
uint32_t | set_bfilter_flags (uint32_t flags) |
bool | set_bfilter_logit (bool enable) |
bool | set_bfilter_ham_spam_ratio (double ratio) |
bool | set_bfilter_unknown_token_prob (double prob) |
bool | set_bfilter_nb_tokens (int nbt) |
bool | set_bfilter_max_sizes (size_t msg, size_t mime) |
bool | set_bfilter_db_crypt (int crypt) |
uint32_t | get_bfilter_flags () |
double | get_bfilter_ham_spam_ratio () |
double | get_bfilter_unknown_token_prob () |
int | get_bfilter_nb_tokens () |
size_t | get_bfilter_max_sizes () |
int | get_bfilter_db_crypt () |
bool | smodel_db_check_token (char *key, sfilter_token_T *token) |
void | smodel_db_info (char *prefix, smodel_db_browse_F func, void *arg) |
void | set_tokconf_active (char *tag, bool active) |
bool | bfilter_handle_message (char *id, char *fname, btsm_browse_F func, void *arg) |
#define __ZE_BFILTER_H 1 |
Definition at line 194 of file ze-bfilter.h.