; To set up paraphrasing with the ERG: ; Start the LOGON image, and then execute the following, which will start up ; PET as an [incr tsdb()] client, to parse English input, and load the ; paraphrase `transfer' grammar (tsdb:tsdb :cpu :mrs :task :parse :file t) (lkb:read-script-file-aux (format nil "~a/uio/enen/lkb/script" %logon%)) ; Then start a separate LOGON process and load the ERG, ; index the lexicon, and start the generator server: (lkb:read-script-file-aux (format nil "~a/lingo/erg/lkb/script" %logon%)) (lkb::index-for-generator) (lkb::start-generator-server) ; Then in the first process, parse a sentence as follows: (mt::parse-interactively "The dog barks.") ; This will bring up the MRS for the parse(s) in a window which has a ; Transfer button (to apply the paraphrasing rules), and a Generate button ; to send the transferred MRS to the generator ; please see the following page (specifically section (5)) for background: ; ; http://wiki.delph-in.net/moin/LogonInstallation