[developers] setting the tsdb skeleton and home directories

Stephan Oepen oe at ifi.uio.no
Tue Jan 31 10:46:48 CET 2012


hi francis,

i would discourage setting the variables directly (i.e. the
second method below).  using the tsdb() sub-commands
:home and :skeletons does some sanity checking on the
new values and further adjusts [incr tsdb()]-internal status
appropriately.

best, oe


On Tue, Jan 31, 2012 at 10:36, Francis Bond <bond at ieee.org> wrote:
> G'day,
>
> I notice that we have two ways documented of setting the tsdb skeleton
> and home directories:
>
> >From the wiki:
> (tsdb:tsdb :home "/home/oe/src/itsdb/src/tsdb/home")
> (tsdb:tsdb :skeletons "/home/oe/src/lkb/src/tsdb/skeletons/english")
>
> >From Emily's course:
> (in-package :tsdb)
> (setf *tsdb-home* "path-to-tsdb/home")
> (setf *tsdb-skeleton-directory* "path-to-tsdb/skeletons")
>
> I think the first sets and updates the directories, while the second
> just sets them.   Does anyone know if there is any reason to prefer
> one to the other?  I am happy to add both to the wiki, but I would
> like to also give advice as to which is preferred.
>
> Yours,
>
> --
> Francis Bond <http://www3.ntu.edu.sg/home/fcbond/>
> Division of Linguistics and Multilingual Studies
> Nanyang Technological University



-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++ Universitetet i Oslo (IFI); Boks 1080 Blindern; 0316 Oslo; (+47) 2284 0125
+++    --- oe at ifi.uio.no; stephan at oepen.net; http://www.emmtee.net/oe/ ---
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




More information about the developers mailing list