Markov chains appear to be training correctly
* Markov chains record words correctly from a single line to the end of their line with a couple of exceptions. * Start working on using ETS for storing markov chains, and saving it as a DETS periodically Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -10,7 +10,9 @@ defmodule Omnibot.Supervisor do
|
||||
|
||||
@impl true
|
||||
def init(:ok) do
|
||||
{_, bindings} = Code.eval_file("omnibot.exs")
|
||||
|
||||
{_, bindings} = System.get_env("OMNIBOT_CFG", "omnibot.exs")
|
||||
|> Code.eval_file()
|
||||
cfg = bindings[:config]
|
||||
|
||||
children = [
|
||||
|
||||
Reference in New Issue
Block a user