;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; Package: umlisp -*- ;;;; ************************************************************************* ;;;; FILE IDENTIFICATION ;;;; ;;;; Name: data-structures.lisp ;;;; Purpose: Basic data objects for UMLisp ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; ;;;; $Id: data-structures.lisp,v 1.5 2002/12/23 21:59:44 kevin Exp $ ;;;; ;;;; This file, part of UMLisp, is ;;;; Copyright (c) 2000-2002 by Kevin M. Rosenberg, M.D. ;;;; ;;;; UMLisp users are granted the rights to distribute and use this software ;;;; as governed by the terms of the GNU General Public License. ;;;; ************************************************************************* (in-package :umlisp) (declaim (optimize (speed 3) (safety 1) (compilation-speed 0) (debug 3))) ;;; Paths for files (defvar *umls-path* (make-pathname :directory '(:absolute "data" "umls" "2003AA")) "Path for base of UMLS data files") (defvar *meta-path* (merge-pathnames (make-pathname :directory '(:relative "META")) *umls-path*)) (defvar *lex-path* (merge-pathnames (make-pathname :directory '(:relative "LEX")) *umls-path*)) (defvar *net-path* (merge-pathnames (make-pathname :directory '(:relative "NET")) *umls-path*)) (defun umls-path! (p) (setq *umls-path* p)) ;;; Structures for parsing UMLS text files (defparameter *umls-files* nil "List of umls file structures. Used when parsing text files.") (defparameter *umls-cols* nil "List of meta column structures. Used when parsing text files.")