;;; Hey, emacs(1), this is -*- Mode: Common-Lisp; Package: LKB; -*- got it? ;;; ;;; First, load a number of LKB-specific settings; typically no need to look ;;; too closely here ;;; (lkb-load-lisp (parent-directory) "Version.lsp" t) (lkb-load-lisp (this-directory) "globals.lsp") (lkb-load-lisp (this-directory) "user-fns.lsp") ;;; ;;; next load the common transfer type hierarchy (the Transfer MatriX) ... ;;; (read-tdl-type-files-aux (list (lkb-pathname (grandparent-directory) "mrs.tdl") (lkb-pathname (grandparent-directory) "mtr.tdl") (lkb-pathname (grandparent-directory) "predicates.tdl") (lkb-pathname (grandparent-directory) "predicates.erg.tdl") (lkb-pathname (grandparent-directory) "predicates.gg.tdl") ;; ;; ... plus additional MRS and MTR type definitions for this language pair ;; (lkb-pathname (parent-directory) "mrs.tdl") (lkb-pathname (parent-directory) "mtr.tdl") (lkb-pathname (parent-directory) "predicates.tdl"))) ;;; ;;; a few more LKB-specific settings, this time for MRS post-processing, ;;; generation, and transfer. ;;; (lkb-load-lisp (this-directory) "mrsglobals.lsp" t) (lkb-load-lisp (this-directory) "mt.lsp") ;;; ;;; transfer operates in three phases: (i) GG-specific accomodation, (ii) core ;;; transfer, and (iii) ERG-specific accomodation. ;;; (mt:read-transfer-rules (list (lkb-pathname (parent-directory) "erg.mtr")) "ERG accomodation phase" :filter nil :before "preprocess") (mt:read-transfer-rules (list (lkb-pathname (parent-directory) "mwe.mtr") (lkb-pathname (parent-directory) "names.mtr") (lkb-pathname (parent-directory) "lexicon.mtr") (lkb-pathname (parent-directory) "prepositions.mtr") (lkb-pathname (parent-directory) "mrs.mtr") (lkb-pathname (parent-directory) "collocations.mtr") (lkb-pathname (parent-directory) "snug.mtr")) "core transfer phase" :filter t) (mt:read-transfer-rules (list (lkb-pathname (parent-directory) "gg.mtr")) "GG accomodation phase" :filter nil)