diff options
author | Josh Soref <2119212+jsoref@users.noreply.github.com> | 2022-02-22 17:01:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 22:01:28 +0000 |
commit | 2b8e6958f40ef36c1508118ac36a43694283a83c (patch) | |
tree | fa9a9b6843546bdb297b00bc78b83ab4c318f724 /lualib/plugins/neural.lua | |
parent | 85faeb34719e2b0898d319b02416f669d70f4562 (diff) | |
download | rspamd-2b8e6958f40ef36c1508118ac36a43694283a83c.tar.gz rspamd-2b8e6958f40ef36c1508118ac36a43694283a83c.zip |
Spelling (#4086)
[Rework] Massive spelling fix from @jsoref
Diffstat (limited to 'lualib/plugins/neural.lua')
-rw-r--r-- | lualib/plugins/neural.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lualib/plugins/neural.lua b/lualib/plugins/neural.lua index 3ce91b5e2..ba8550a42 100644 --- a/lualib/plugins/neural.lua +++ b/lualib/plugins/neural.lua @@ -456,7 +456,7 @@ local function can_push_train_vector(rule, task, learn_type, nspam, nham) if nspam <= train_opts.max_trains then if train_opts.spam_skip_prob then if coin <= train_opts.spam_skip_prob then - rspamd_logger.infox(task, 'skip %s sample probabilisticaly; probability %s (%s skip chance)', learn_type, + rspamd_logger.infox(task, 'skip %s sample probabilistically; probability %s (%s skip chance)', learn_type, coin, train_opts.spam_skip_prob) return false end @@ -471,7 +471,7 @@ local function can_push_train_vector(rule, task, learn_type, nspam, nham) if nham <= train_opts.max_trains then if train_opts.ham_skip_prob then if coin <= train_opts.ham_skip_prob then - rspamd_logger.infox(task, 'skip %s sample probabilisticaly; probability %s (%s skip chance)', learn_type, + rspamd_logger.infox(task, 'skip %s sample probabilistically; probability %s (%s skip chance)', learn_type, coin, train_opts.ham_skip_prob) return false end @@ -533,7 +533,7 @@ local function spawn_train(params) else local inputs, outputs = {}, {} - -- Used to show sparsed vectors in a convenient format (for debugging only) + -- Used to show parsed vectors in a convenient format (for debugging only) local function debug_vec(t) local ret = {} for i,v in ipairs(t) do |