diff options
author | Sébastien Dailly <sebastien@dailly.me> | 2022-02-25 19:15:29 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@dailly.me> | 2022-02-25 19:15:29 +0100 |
commit | 4eff667b92ff7ef4c3542650509c03fb0de5cbce (patch) | |
tree | 6a6180d355d0ab78626ad5988c5203ee20344187 /motus/lib/wordlist.ml | |
parent | 95432043550bd4a41b4466395502bc3b748e6746 (diff) |
Added an another engine for motus, using entropy instead of frequencies only
Diffstat (limited to 'motus/lib/wordlist.ml')
-rw-r--r-- | motus/lib/wordlist.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/motus/lib/wordlist.ml b/motus/lib/wordlist.ml index 7c400bb..4a84ab0 100644 --- a/motus/lib/wordlist.ml +++ b/motus/lib/wordlist.ml @@ -23,3 +23,5 @@ let words = S.to_seq let list_size = S.cardinal let remove_word t w = S.remove w t + +let pick = S.choose_opt |