TABARI Program and Source Code
TABARI -- Textual Analysis By Augmented Replacement Instructions -- is the open-source, C++ successor to the KEDS program. This release of the TABARI source code is fully functional for both the Linux and Macintosh operating systems; a somewhat less elegant and older version works with Windows.
We have a 160-page manual for TABARI. The links below download a PDF file; this is formatted (via LaTeX) for double-sided printing on 8-1/2 x 11 inch paper. This manual integrates the older TABARI.changes.doc documentation and the KEDS manual, and also incorporates a number of commentaries on event coding, notably Joe Pull's Ode on Coding.
Download TABARI manual (version 0.8.3b1, June 2012)
Comments on the current accuracy of TABARI can be found here
TABARI runs in the Terminal environment in the Macintosh OS-X operating system using the Unix "ncurses" library, so a single code base supports both OS-X and Linux -- in fact we now regularly re-compile the code that was developed on desktop Macs on assorted Unix servers and do our high-capacity coding there. Follow these instructions to install and run the program. Also following a P)arse, use a browser to open the file "TABARI.Parse.html" to get the much-requested color-coded parse display. With this interface, the program can also be easily run from a server.
Two changes in Version 0.7+ -- the detection of duplicate entries and the deletion of hyphens -- will cause some changes to be required in earlier dictionaries before they will work without generating error messages (or, in very rare cases, errors). In addition, some of the newer compiled code will not run on older Macs, though such machines have probably mostly disappeared by now. Versions 0.8, 0.7 and 0.6 are provided below.
- Compiled TABARI Machintosh OS-X Version 0.8.4B1 with manual and demonstration files
(5 Nov 2012).
Download for OS-X 6 and higher
Download Version 0.8.3 for OS-X 5 and earlier
- Download TABARI manual (version 0.8.4b1, November 2012 )
- Download TABARI "Makefile" release 0.8.4B1: This zipped directory contains the source code, manual, a Unix "makefile" and validation/demo files. The Makefile has been successfully compiled in both OS-X and various versions of Linux; it should work on any system with the gcc compiler. (5 November 2012).
- Comments on Version 0.8.3/4b1: This version adds synonym sets, cleans up a bunch of compiler warnings, adds an option for converting isolated agents to actors, allows default codes for both source and target (which allows coding of sentences where there is no target), actually implements the COMMA function, improves the input error reporting, and has a considerably more robust validation file. Version 0.8.4 allows 2- and 4-digit years to be mixed when the SET: YYYY = TRUE option is used, and deactivated the M)odify/A)ctor option, which no longer worked due to the synsets. This version recently coded 180-million events without crashing, so it seems fairly solid.
- Issues with Ubuntu Linux [May-2013]: We've had multiple reports that some versions of Ubuntu Linux
have serious difficulties installing the 'ncurses' library, which is necessary for TABARI to run,
as this is the library it uses for the interface. It is apparently possible to get around
this if you have a lot of experience with Ubuntu Linux, but so far we've not been told of a
systematic work-around (if you've got one, please let us know!). This seems to only affect
Ubuntu and not, for example, Red Hat.
later: well, we asked...one person got the system to work by changing the final line of the makefile to
$(GCC) -o TABARI.0.8.3b1 -g TABARI.o input.o memory.o utilities.o codes.o output.o coder.o parser.o\ process.o interface.o modify.o xmlinput.o -lncurses
(this shifts the `-lncurses' from the beginning of the command to the end)
At the moment our priority is getting the Python-based based successor to TABARI running, and if this is successful, that should be able to run on any system, including Windows. We are hoping that will be available in a reasonably operational form by late August 2013.
- Download TABARI Machintosh OS-X Version 0.7.6B1: compiled version for OS-X 6 and higher, with demonstration files (15 November 2011).
- Download TABARI Machintosh OS-X Version 0.7.6B1: compiled version for OS-X versions prior to 6 with demonstration files (10 January 2012).
- Download TABARI manual (version 0.7.6b1, November 2011)
- Download TABARI "Makefile" release 0.7.7B1: This zipped directory contains the source code, manual, a Unix "makefile" and validation/demo files. The Makefile has been successfully compiled in both OS-X and various versions of Linux; it should work on any system with the gcc compiler. (12 January 2012).
- Comments on Version 0.7.6b1: This version corrected a couple more 1-in-x-million crashes, improved the error reporting, and added substantial new functionality, including multiple actor dictionaries, agents, regular noun and verb endings, and system calls in the .project file. It also removed some older .options—VALID and COMMA —which in fact had never actually been implemented; if these commands are in an .options file, they will now cause an error. This version has been used in high-volume (N > 100-million records) coding on a cluster computer, as well as in conventional applications. Version 0.7.7 made a large number of generally cosmetic changes that eliminated compiler warnings.
- Download TABARI Machintosh OS-X Version 0.7.3B3: compiled version and demonstration files (1 July 2009). This is an earlier dual-processor file that will work on both PPC and Intel processors, though unless you have really old hardware, you should be using the more recent version.
Version 0.6 and 0.7 were compiled under Ubuntu gcc version 4.0.3, and various other systems installed on cluster computers at Kansas and Penn State; the code is now identical to the Mac OS-X code. The enclosed Makefile will presumably work with pretty much any C++ system.
Download TABARI Linux Version 0.7.6b1 (.zip file). (12 January 2012)
Download TABARI Linux Version 0.6.3b7 (.zip file). (20 July 2008)
WindowsIn 2008, Vladimir Petrov produced a basic port of the 0.6 code for Windows -- this runs in a scrolling terminal rather than using the 'ncurses' system so it doesn't look very pretty, but the coding speed is very fast -- in some initial experiments, about twice that of the Mac/Linux system.
Windows Version 0.6 (.zip file). This contains all of the files needs to
work with the program in the MS Visual Studio environment. (16 September 2008)
Status of Windows version[s]
The ports by Vladimir Petrov and earlier by Dale Thomas definitely will give you basic TABARI functionality, and are okay if you absolutely positively have to work with Windows. However, the bottom line is that we've never found anyone who was interested in maintaining a Windows version of the program [curious, that...], and since we are a Unix shop, we haven't made the investment ourselves. Consequently, if you are in a Windows environment but have some flexibility, probably the best approach would be to either
- Purchase a Mac Mini for around $600;
- Purchase a less expensive system with Linux already installed, if you can find one. Dell once sold such items [June 2008] for around $260 but they appear to have again been assimilated to the Borg;
- Download and install [for free] Ubuntu Linux (or any other variant of Linux) on your existing Windows system;
- Download and install the [free] Cygwin system for running Linux applications under Windows.
- Contact Lockheed-Martin and see if they would be willing to license their JABARI program, a propriety implementation of TABARI in Java that works on Windows.
Again, if someone would like to volunteer to fully convert the current version to Windows -- key additional work needed is to get functionality equivalent to that provided by 'ncurses' (or better, like a Windows GUI), the source code, as always, is available.
These are the final versions of TABARI for the OS-9 environment. These were compiled using the Metrowerks CodeWarrior system and use the MetroWerks "SIOUX" terminal interface. They are quite dated.
- Download TABARI Machintosh Version 0.4B1 (.sit file). This is the final source code release and includes compiled version, documentation and the full source code (14 March 2002)
- Download TABARI Machintosh Version 0.4.06B1 : (.sit file). This is the final "working version" -- we were using it for coding here at Kansas until 2005 -- and includes the compiled program and updated documentation, but not source code. (28 April 2003)
Older code for Windows
Probably not of much use, but pre-dated the use of 'ncurses' for terminal control and look a little nicer on the screen.
Windows Version 0.4.04B1 Source (.zip file). This is still in the
working stages. (16 April 2003)
Windows Version 0.4.04B1 Executable (executable file). (15 April
Windows Version 0.2 (.zip file). [compiled; conversion by Dale
Thomas; see Read.Me file] (17 May 2000)
Note: The default DOS console screen displays only 25 lines, whereas TABARI's "Modify" menus assume 48 lines. To correct this, go to the Windows "Start" menu, programs, MS-DOS prompt and right click; select properties and then the screen tab you can reset the initial size to either 48 or 50 lines.
Windows NT Version 0.2 (.zip file). [source code and compiled; conversion
by Dale Thomas; see Read.Me file]
(4 February 2002)
Note: The NT Version of TABARI version .02 has a only a slight change from the previously released DOS executable version of the program. The long file names associated with the Demonstration project have been changed to the 8+3 format that NT seems to require.