diff options
author | Jordan Bracco <href@random.sh> | 2022-12-20 02:19:42 +0000 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2022-12-20 19:29:41 +0100 |
commit | 9958e90eb5eb5a2cc171c40860745e95a96bd429 (patch) | |
tree | b49cdb1d0041b9c0a81a14950d38c0203896f527 /lib/plugins/txt/markov.ex | |
parent | Rename to Nola (diff) |
Actually do not prefix folders with nola_ refs T77
Diffstat (limited to 'lib/plugins/txt/markov.ex')
-rw-r--r-- | lib/plugins/txt/markov.ex | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/plugins/txt/markov.ex b/lib/plugins/txt/markov.ex new file mode 100644 index 0000000..b47666c --- /dev/null +++ b/lib/plugins/txt/markov.ex @@ -0,0 +1,9 @@ +defmodule Nola.Plugins.Txt.Markov do + + @type state :: any() + @callback start_link() :: {:ok, state()} + @callback reload(content :: Map.t, state()) :: any() + @callback sentence(state()) :: {:ok, String.t} | {:error, String.t} + @callback complete_sentence(state()) :: {:ok, String.t} | {:error, String.t} + +end |