Searched refs:word_decay (Results 1 – 2 of 2) sorted by relevance
/dports/mail/rspamd-devel/rspamd-93430bb/src/libstat/tokenizers/ |
H A D | tokenizers.c | 164 guint word_decay, in rspamd_tokenize_check_limit() argument 182 if (word_decay > 0 && nwords > word_decay && remain < (gssize)total) { in rspamd_tokenize_check_limit() 189 decay_prob = (gdouble)word_decay / ((total - (remain)) / avg_word_len) * 10; in rspamd_tokenize_check_limit() 296 guint min_len = 0, max_len = 0, word_decay = 0, initial_size = 128; in rspamd_tokenize_text() local 326 word_decay = cfg->words_decay; in rspamd_tokenize_text() 327 initial_size = word_decay * 2; in rspamd_tokenize_text() 347 rspamd_tokenize_check_limit (decay, word_decay, res->len, in rspamd_tokenize_text() 527 rspamd_tokenize_check_limit (decay, word_decay, res->len, in rspamd_tokenize_text()
|
/dports/mail/rspamd/rspamd-3.1/src/libstat/tokenizers/ |
H A D | tokenizers.c | 164 guint word_decay, in rspamd_tokenize_check_limit() argument 182 if (word_decay > 0 && nwords > word_decay && remain < (gssize)total) { in rspamd_tokenize_check_limit() 189 decay_prob = (gdouble)word_decay / ((total - (remain)) / avg_word_len) * 10; in rspamd_tokenize_check_limit() 296 guint min_len = 0, max_len = 0, word_decay = 0, initial_size = 128; in rspamd_tokenize_text() local 326 word_decay = cfg->words_decay; in rspamd_tokenize_text() 327 initial_size = word_decay * 2; in rspamd_tokenize_text() 347 rspamd_tokenize_check_limit (decay, word_decay, res->len, in rspamd_tokenize_text() 527 rspamd_tokenize_check_limit (decay, word_decay, res->len, in rspamd_tokenize_text()
|