; ======================================================================= ; FILENAME: WORD-demo.txt ; DATE: DATE ; PROGRAMMER: YOUR_NAME ;; NOTE TO PROGRAMMER: GLOBALLY REPLACE "WORD" BY YOUR WORD, ;; "DATE" BY TODAY'S DATE, ;; "YOUR_NAME" BY YOUR NAME, ;; AND THEN DELETE THIS COMMENT (TO MAKE IT LOOK GOOD!) ;; this template version: ;; http://www.cse.buffalo.edu/~rapaport/CVA/snepslog-template-2006114.demo ; Lines beginning with a semi-colon are comments. ; Lines beginning with "^" are Lisp commands. ; Lines beginning with "%" are SNePSUL commands. ; All other lines are SNePSLOG commands. ; ; To use this file: run SNePSLOG; at the SNePSLOG prompt (:), type: ; ; demo "WORD-demo.txt" av ; ; Make sure all necessary files are in the current working directory ; or else use full path names. ; ======================================================================= ; Set SNePSLOG mode = 3 set-mode-3 ; Turn off inference tracing; this is optional. ; If tracing is desired, enter "trace" instead of "untrace": untrace inference ; Load the appropriate definition algorithm: ;; UNCOMMENT THE ONE YOU *DO* WANT ;; AND DELETE THE OTHER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ; ^(cl:load "/projects/rapaport/CVA/STN2/defun_noun") ; ^(cl:load "/projects/rapaport/CVA/STN2/defun_verb") ; Clear the SNePS network: clearkb ; OPTIONAL: ; UNCOMMENT THE FOLLOWING CODE TO TURN FULL FORWARD INFERENCING ON: ; ; ^(cl:load "/projects/rapaport/CVA/STN2/ff") ; define frames here: ; ===================== ; (put annotated SNePSLOG code of your defined frames here; ; be sure to include both syntax and semantics) ; (also: be sure to define frames for any paths that you ; will need below!) ; define paths here: ; ===================== ; (put annotated SNePSLOG code for your paths here; ; be sure to include both syntax and semantics; ; consult "/projects/rapaport/CVA/mkb3.CVA/paths/snepslog-paths" ; for the proper syntax and some suggested paths; ; be sure to define frames above for any paths that you need here!) ; BACKGROUND KNOWLEDGE: ; ===================== ; (put annotated SNePSLOG code of your background knowledge here) ; CASSIE READS THE PASSAGE: ; ========================= ; (put annotated SNePSLOG code of the passage here) ; Ask Cassie what "WORD" means: ;; UNCOMMENT THE ONE YOU *DO* WANT ;; AND DELETE THE OTHER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ; ^(snepsul::defineNoun "WORD") ; ^(snepsul::defineVerb "WORD")