Implemented new tokenization algorithm.
[mailvisa2.git] / src / wordlist.mli
blob583ffe1f9e629688004c8f3b47318b437e0479d5
1 type wordlist
3 val load_wordlist_from_channel : in_channel -> wordlist
4 val save_wordlist_to_channel : wordlist -> out_channel -> unit
5 val get_incidence : wordlist -> string -> float
6 val get_score_with_default : wordlist -> string -> float -> float
7 val get_score : wordlist -> string -> float
8 val load_wordlist : string -> wordlist
9 val save_wordlist : wordlist -> string -> unit
10 val set_score : wordlist -> string -> float -> unit
11 val create_wordlist : int -> (string, float) Hashtbl.t -> wordlist
12 val wordlist_messages : wordlist -> int
13 val wordlist_words : wordlist -> (string, float) Hashtbl.t