Includes a Windows Command Script that reads a text file, one line at a time, and sends it to the Verbot Player using the “Verbot5Engine.exe –input=”text” “ command line option. One use for this script is to test KnowledgeBase changes using a file of standard user input text.
The KnowledgeBase intercepts the –input command line text sent by the script and stores the text in vars variables.
Commands are provided to display Feeder input text one line at at time, review synonyms for a selected word, and replace a word with a synonym.
Using the default input file, excerpts from L. Frank Baum's "The Wizard of Oz", as an example: 4. Dorothy noticed that the house was not moving. 4. Dorothy detected that the house was not soul-stirring
A Food Network Small talk about food. Implemented as a Semantic Network.
The KnowledgeBase Exchange Demonstrates the dynamic loading, unloading, and build of KnowledgeBases using a repository of over 400 files of information on mammals taken from the book "Natural History of the Mammalia of India and Ceylon", by Robert A. Sterndale, published in 1884.
Mood Metrics mood_metrics.vkb is a utility KnowledgeBase which, when added to another KnowledgeBase, works in the background to scan user input for mood words, collecting basic statistics: word counts, and "scores".
A comprehensive thesaurus and word game. A Verbot implementation of the WordNet thesaurus: http://wordnet.princeton.edu Includes 169,000 synonym sets in synonym (.VSN) and template (.CSV) format. Thesaurus.kb and a word game: WordRelativity.kb. Details are found in the ReadMe.txt file. Please note: the 45MB file may take a few minutes to download.
Moby Spinner Grady Ward's Moby Thesaurus imported into a set of 34 synonym files. With demo knowledgebases. Note: the Moby download is a 41 MB .zip file. Sample interaction: V: Moby Spinout is ready. U: Come one! Come all! Step right up and take your words for a spin in the Moby Thesaurus! V: Moby Spin yet? U: Moby Spin! V: Come one! project all! Step right up and take your words for a spin in the Moby Thesaurus! Come one! happen by chance all! Step right up and take your words in contemplation of a spin in the Moby Thesaurus! Come one! jump out all! Step right up and take your words insofar as a spin goodwill the Moby Thesaurus! Come one! pounce on all! Step as you say up and take your words in favor of a spin open door the Moby Thesaurus! Come one! rebuke all! Step adjust up and take your words from a rise swish the Moby Thesaurus! Come one! eventuate all! doorstep auspicious up and take your words considering a sideslip vestibule the Moby Thesaurus! Come one! be fated all! endeavor authentic up and belittle your words insomuch as a rat race inwardly the Moby Thesaurus! Come one! close all! drag adapt mount and dream your words vice a back with the Moby Thesaurus! Come one! earn all! clip full hike and bilk your words pro a bank from the Moby Thesaurus!
Examples of rule timers and counters. This knowledgebase uses the Verbot 5 OnAfterRuleFired function (in VerbotStandardAboutTime.vcm)
and CSharp code to illustrate rule timers and counters.
This tiny KB traps double user inputs and sends a disgusted reaction You need to place this KnowledgeBase on top of the list of your knowledge bases in the Verbot player, so it will executed at first.
The only one rule checks if the current user input is the same as the last user input. If yes, the Verbot will give a reply. If no, your usual VKB files will be executed as always.
CSV Manipulation Sample 0.1
Example Code Modules and VKB test file for CSV manipulation. This archive contains a very simple example of opening, updating, and saving CSV files. This sample could be expanded to a more full featured CSV contact manager where the user could update a contact's information stored in a CSV file. Right now it is more hard-coded: you can type "open" and it will prompt you for a file path, give it the full path to the phone_book_sample_test.csv file in the archive and then type "replace" to have it find the "Matt" entry and replace the phone number.
vcm code and KB functions vcm contains code for some useful functions and KB demonstrates above and has some useful techniques