[go: up one dir, main page]

File: rankmsg.mli

package info (click to toggle)
spamoracle 1.4-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 232 kB
  • ctags: 240
  • sloc: ml: 1,198; makefile: 137; sh: 61
file content (23 lines) | stat: -rw-r--r-- 1,046 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(***********************************************************************)
(*                                                                     *)
(*                 SpamOracle -- a Bayesian spam filter                *)
(*                                                                     *)
(*            Xavier Leroy, projet Cristal, INRIA Rocquencourt         *)
(*                                                                     *)
(*  Copyright 2002 Institut National de Recherche en Informatique et   *)
(*  en Automatique.  This file is distributed under the terms of the   *)
(*  GNU Public License version 2, http://www.gnu.org/licenses/gpl.txt  *)
(*                                                                     *)
(***********************************************************************)

(* $Id: rankmsg.mli,v 1.2 2002/08/26 09:35:26 xleroy Exp $ *)

(** Message ranking *)

type rank =
  { spam_prob: float;
    num_meaningful: int;
    explanation: string }

val rank_message: Database.short -> Mail.message -> rank