aboutsummaryrefslogtreecommitdiff
path: root/motus/bin
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-02-26 13:42:32 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-02-26 15:19:51 +0100
commit84b8439aa90f1465d05dcba936a25eaf96f914a0 (patch)
treeeb50a0a305d14d8591acb51e5ab745dcdd3e1f88 /motus/bin
parent4eff667b92ff7ef4c3542650509c03fb0de5cbce (diff)
Use the whole dictionnary when searching for a word for a faster exploration
Diffstat (limited to 'motus/bin')
-rw-r--r--motus/bin/motus.ml2
1 files changed, 1 insertions, 1 deletions
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