From 84b8439aa90f1465d05dcba936a25eaf96f914a0 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sat, 26 Feb 2022 13:42:32 +0100 Subject: Use the whole dictionnary when searching for a word for a faster exploration --- motus/bin/motus.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'motus/bin') diff --git a/motus/bin/motus.ml b/motus/bin/motus.ml index a8a9188..638e778 100644 --- a/motus/bin/motus.ml +++ b/motus/bin/motus.ml @@ -76,7 +76,7 @@ let rec run len filters words = Freq_analysis.analyse words |> Freq_analysis.pick_next_word words in *) - let _, next = Entropy.analyse len words in + let _, next = Entropy.analyse len ~catalog:words words in let () = Format.fprintf Format.std_formatter "Next word will be : %s@\n" next -- cgit v1.2.3