X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=-orf%2Fdata-structures.lisp;h=2414f22c06ea8259c9f2bec5e52cffe4d1fc9579;hb=d32c4003c634ec4f8b5c94c99bc67344e01bdbc0;hp=32c84ee7bc7454078fbd7bf431fe2e500bfd874a;hpb=c5de116ba7fa86f836be56828ded832dd53c623a;p=umlisp.git diff --git a/-orf/data-structures.lisp b/-orf/data-structures.lisp index 32c84ee..2414f22 100644 --- a/-orf/data-structures.lisp +++ b/-orf/data-structures.lisp @@ -24,18 +24,18 @@ (make-pathname :directory '(:absolute "data" "umls" "2003AC")) "Path for base of UMLS data files") -(defvar *meta-path* - (merge-pathnames +(defvar *meta-path* + (merge-pathnames (make-pathname :directory '(:relative "META")) *umls-path*)) -(defvar *lex-path* - (merge-pathnames +(defvar *lex-path* + (merge-pathnames (make-pathname :directory '(:relative "LEX")) *umls-path*)) -(defvar *net-path* - (merge-pathnames +(defvar *net-path* + (merge-pathnames (make-pathname :directory '(:relative "NET")) *umls-path*)) @@ -44,10 +44,10 @@ ;;; Structures for parsing UMLS text files - -(defparameter *umls-files* nil + +(defparameter *umls-files* nil "List of umls file structures. Used when parsing text files.") -(defparameter *umls-cols* nil +(defparameter *umls-cols* nil "List of meta column structures. Used when parsing text files.") @@ -64,7 +64,7 @@ (fields :initarg :fields :accessor fields) (ucols :initarg :ucols :accessor ucols)) (:default-initargs :fil nil :table nil :des nil :fmt nil :cls nil :rws nil :bts nil - :fields nil :ucols nil) + :fields nil :ucols nil) (:documentation "UMLS File")) (defclass ucol () @@ -82,8 +82,8 @@ (datatype :initarg :datatype :accessor datatype) (custom-value-fun :initarg :custom-value-fun :accessor custom-value-fun)) (:default-initargs :col nil :des nil :ref nil :min nil :av nil :max nil :fil nil - :sqltype nil :dty nil :parse-fun nil :datatype nil - :custom-value-fun nil) + :sqltype nil :dty nil :parse-fun nil :datatype nil + :custom-value-fun nil) (:documentation "UMLS column")) @@ -96,4 +96,4 @@ (format s "~A" (col obj)))) - +