[developers] Extracting and representing tree structures

Ann Copestake Ann.Copestake at cl.cam.ac.uk
Wed Nov 28 15:31:47 CET 2012


You probably know this already, but just in case:

the tree nodes for the LKB are assigned based in templates specified in 
parse-nodes.tdl

the code for extracting trees from AVMs in the LKB is in 
io-general/tree-nodes.lsp
parameterised by the global variables in the grammar lkb directory globals.lsp 
file

e.g.,

;;; the path for the recursive category
(defparameter *recursive-path* '(SYNSEM NONLOC SLASH LIST FIRST))

I'm not sure that you can make this behave in the desired way, but it's a 
fairly flexible mechanism

Cheers,

Ann




More information about the developers mailing list