Open jrwarwick opened 4 years ago
Also maybe a "dependency mapper". I.e., a script that can scan all files and report when a file contains a category that has a reduction (srai) that is satisfied only in another file. Maybe also then, detect duplicate srai resolutions/mappings.
It would be a really good thing to provide or point to some kind of canonical/accepted AIML standard documentation, including an XSD or RNG file (or maybe embed a copy of that in this repository), and maybe a simple python script to walk the pattern-reductions-template path to discover any paths that do not terminate in a plain, utterable template. I.e., erroneously unterminated categories.
It would also be pretty useful to build in a debug option into the skill to output to debug log the "path" of reductions invoked.