This project page is about referent systems. It consists of two parts, really:
The version 5.1 comes with source code. You may use it subject
to GNU license terms. Evidently, I decline any responsibility
connected with the use of this software. Notice also that
what I describe below will work under Unix only (which includes
Mac OS X and Linux). If you insist on using Windows, you should
probably install Cygwin first. (Read also the howto manual
linked to below).
Back to Top
If you want a standalone version to play with, here it is. The minimal version requires
compile, interactive, uses dialog windows,
od-compile, identical to compile
but without dialog windows easy-compilenoninteractive,
and without the use of dialog.wrap, to be used to create an archive, save to create backups, versionise is used to change the
version number on all relevant files. <RefSys>. Unpack the
archive using
tar xvf referent_v5-1.tar
dict and bin.
dict is where the dictionaries have to be
put, bin is for the binaries. Now type
chmod +x bin/*
bin executable.
PATH=full-path-to-RefSys/bin:$PATH
RefSys>/bin to your path.
(Otherwise, you will have to prepend each command by
bin/!) It is best to add this line to your
.bashrc, otherwise you will have to retype
it everytime you restart the computer.
When you first run them, a new directory
parse of <RefSys>
will be created. This is the directory where all parses will
go. The interactive installers are both in German and English,
and you will be prompted for the installation language.
This determines in which way the system talks to you and
in what language the user interface generates the output.
Do not skip this step. Next you will be prompted whether
you want to get a system install or not. If running it
for the first time (or if you changed the sources of the
system itself), say "Yes". That will generate all libraries.
If we want to recompile only the dictionaries, say "No".
Next you will be prompted whether you want to recompile
the dictionaries. After that you can choose between the
compile.log.
You are told whether the installation is successful.
If not, take a look at compile.log to see
what went wrong.
You can create a graphical interface using compile.
Since the interface is created via compile, feel
free to add to existing dictionaries or change the existing one,
as long as you remember to invoke compile after
that. To invoke the interface, type rs. It opens a
menu where you can enter your sentence word by word, or by typing
it into the window. When you call "parse", it creates a file
parse.dvi and then uses XDvi to show it to you.
It also creates a file
parse/date<date>at<time>.tex
parse from time to time.
referent
after that. Then issue #use "dict/deu.ml";;
(or whatever the name of the dictionary is you want to use).
The system is ready. To parse, issue
parse_show "sentence";; after the prompt
and watch the result. If things to right, a dvi-viewer pops
up and show you the result. For that, you must obviously have
LaTeX installed. This interface is much more flexible, and
at some point I shall describe its functionality in more detail.
The most visible change is the increased support for morphology. Entries have a morphology; this is a morpheme, where a morpheme is a set of morphs. Morphs in turn are complex structures, allowing the use of several strings and features for strings. This allows to treat plural in English, for example, using one entry only, so the semantics need not be iterated. The morphological decomposition tables used in the previous version are now redundant (they were also a source of exponential slowdown).
The Tcl-script is much simplified.
It is not possible to input non-ASCII symbols with the standalone system using a standard keyboard. The input is through specified sequences, like html, but the coding is flexible.
The exponents are now arrays of so-called glued strings. These are strings with optional conditions what kinds of strings they can be concatenated with. The conditions are of the form "concatenates with a string that has/does not have a suffix suf if appended (prefix pref if prepended)". Variables are now pairs (string, number) and most string output uses buffers, to speed up the output.
compile or easy-compile installer,
depending on whether you have dialog installed. For Windows,
the only way is to install Cygwin before installing everything
else. I will need to find out exactly how this can be done.
Referent systems are due to Kees Vermeulen. I am indebted to him as well as Albert Visser for the theory part. The implementation has been done by myself. Its creation has been sponsored by two successive senate grants from UCLA. I have enjoyed the help of Cory Hill, Ben Keil, Adam Skory and Joseph Vaughan.
Send any reports of error (or praise) to
Marcus Kracht.
Back to Top