This page describes the installation procedure of CoDAK on Debian/Ubuntu. For now, CoDAK is not packaged for any other OS.
To install, follow the steps below.
The following command will enable the CoDAK repository on your system (NOTE: the repository has moved - Oct 18, 2011).
echo 'deb http://downloads.sourceforge.net/project/codak/deb experimental main' \
| sudo tee /etc/apt/sources.list.d/codak.list
Update the local package database:
sudo apt-get update
For a basic CoDAK installation, type:
sudo apt-get install codak-core
To install also the (optional) terms extension, type:
sudo apt-get install codak-terms
If you use an old version of APT you will see the following error after apt-get install:
Failed to fetch http://downloads.sourceforge.net/project/codak/deb/pool/main/c/codak-terms/codak-terms_0.9.0+svn20111115-1_all.deb Undetermined error
The workaround is to upgrade APT or fetch and install the file manually:
wget http://downloads.sourceforge.net/project/codak/deb/pool/main/c/codak-terms/codak-terms_0.9.0+svn20111115-1_all.deb
dpkg -i codak-terms_0.9.0+svn20111115-1_all.deb
(replace the filename with the actual filename shown in the error message)
To complete the installation:
Depends: codak-core
A Frog module is included in the codak-core package, but Frog itself must be installed separately for the module to work. Frog and its dependencies can be downloaded and installed from source by running its installation script:
install-ilktools
To test if Frog works, do:
frog -v
This should output something like:
frog 0.12.3(c) ILK 1998 - 2011
Induction of Linguistic Knowledge Research Group, Tilburg University
Depends: codak-terms
MediaWiki is used as a storage back-end for term descriptions.
To start using MediaWiki, download and install MediaWiki manually. Then, go to the wiki configuration page and update the "wiki prefix" field by entering the URL of your MediaWiki installation.
Depends: codak-terms
Wikilink uses Wikipedia to automatically detect links between terms. This should improve the relevance ranking of the terms. It takes about 1GB of disk space and setting it up may take several hours.
To install, just run and do something else in the meantime:
codak-wikilink-setup
Depends: codak-terms
The ontology connection requires a working installation of Sesame.
connect http://localhost:8080/openrdf-sesame.
create native.
The ontology is now ready for use. Use the "import" page in the wiki menu to import an RDF or OWL ontology.
Stuck in the installation process? Get help...