From 322259837fc9e30f55c232f44d595a1a5d92317f Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Thu, 16 Sep 2021 08:25:22 +1000 Subject: [PATCH] docs: Fix a few typos There are small typos in: - aiml/DefaultSubs.py - aiml/Kernel.py Fixes: - Should read `substitutions` rather than `subtitutions`. - Should read `equivalent` rather than `equivilant`. --- aiml/DefaultSubs.py | 2 +- aiml/Kernel.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aiml/DefaultSubs.py b/aiml/DefaultSubs.py index ebf3aa2..f95653c 100644 --- a/aiml/DefaultSubs.py +++ b/aiml/DefaultSubs.py @@ -26,7 +26,7 @@ he = I # and so on... - # the 'normal' section contains subtitutions run on every input + # the 'normal' section contains substitutions run on every input # string passed into Kernel.respond(). It's mainly used to # correct common misspellings, and to convert contractions # ("WHAT'S") into a format that will match an AIML pattern ("WHAT diff --git a/aiml/Kernel.py b/aiml/Kernel.py index 5710b3e..05a6128 100644 --- a/aiml/Kernel.py +++ b/aiml/Kernel.py @@ -141,7 +141,7 @@ def numCategories(self): def resetBrain(self): """Reset the brain to its initial state. - This is essentially equivilant to: + This is essentially equivalent to: del(kern) kern = aiml.Kernel() @@ -980,7 +980,7 @@ def _processThat(self,elem, sessionID): recent, and so on. elements (when they appear inside