Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-10 14:16:04 +0100
committerErich Eckner <git@eckner.net>2019-01-10 14:16:04 +0100
commit3303936fbeeae33e3e29cf93f91e306aa6974393 (patch)
tree20f2ad8f8fd374efbf5aaec8c5629284707f84cb
parent61c3c5c3a35d3f2cc4022b3f96742734b154eea4 (diff)
bin/ii-answer: add comment about markov
-rwxr-xr-xbin/ii-answer3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ii-answer b/bin/ii-answer
index de6d3c9..886a548 100755
--- a/bin/ii-answer
+++ b/bin/ii-answer
@@ -159,6 +159,9 @@ find "${irc_dir}" \
sort -u
)
if [ -n "${askers}" ]; then
+ # markov's source is there: https://git.eckner.net/Erich/markov
+ # its parameters are: a word list, the depth of the markov chain
+ # and the count of words to print
"${base_dir}/bin/markov" ~/.words.irc 3 "$(printf '%s\n' "${askers}" | wc -l)" | \
for asker in ${askers}; do
if ! read -r random; then