This tutorial will introduce you to the learning properties of NL-Soar (WordNet version).
 
  1. Start up NL-Soar (the Wordnet version) as usual. Note that this assumes that NL-Soar has no prior experience whatsoever in processing any sentences.
  2. Enter the following sentence with the new-sentence command: the donkey crossed the road .
  3. Now run the system with the run command.
  4. Study the system trace and note the following:
  5. Words are set up (by default) to enter the system every 350 milliseconds. As soon as they enter the system, a message prints, such as:

  6. Time has come for EnterWord 350 road...
    1450 Soar hears you say: road
    This means that 1.45 seconds into the utterance, the word "road" entered into the system.
  7. The processing was very hierarchical, with several layers of goal-directed behavior.
  8. The processing took about 245 decision cycles.
  9. You can also use the command stats to see exactly how much CPU time it took to process this sentence, how many decision and elaboration cycles it took, how many production firings were needed, and how many working memory elements were involved. Do this, and note these figures for future reference.
  10. Several chunks were created while processing the sentence. They reflect what NL-Soar learned during the process.
  11. Now initialize the system with the init-soar command. At this point, all of the chunks are still in the system (init-soar does not delete them; the command excise -chunks does this, but don't do it now).
  12. Now run the system again, using the same sentence. Note that:
    1. This time there is much less goal-directed behavior; instead, the system behaves recognitionally. In particular: u-constructors and s-constructors that were learned when processing the sentence deliberately fire when the system recognizes that they can apply.
    2. Many chunks fire as operators participate recognitionally.
    3. Words enter into the system as described above; however, this time the system has much more extra time between words.
    4. There is a wait operator that fires for each decision cycle that the system waits for a new word to enter the system.
  13. Run the stats command again, and note how the processing statistics differ from the previous run. There should be a noticable reduction in the number of decision cycles, working memory, and CPU processing time. This reflects the effects of NL-Soar's having previously learned how to process the sentence, and applying that knowledge recognitionally.
  14. Imagine what other types of tasks NL-Soar could process as it is waiting for incoming words.