Last active
January 16, 2020 13:20
-
-
Save nikopartanen/ad3f4ec227acdfbb8ee88bdfe54b6de9 to your computer and use it in GitHub Desktop.
setting-up-giellatekno-infra.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lang=$1 | |
export GTLANG_$lang=/mnt/data/trunk/langs/$lang | |
cd /mnt/data/trunk/langs/$lang | |
make clean | |
./autogen.sh | |
./configure --with-hfst --without-xfst --enable-tokenisers --enable-reversed-intersect --enable-alignment --enable-apertium --enable-dicts --enable-morpher | |
make | |
make install | |
cp ./src/analyser-gt-desc.hfstol /mnt/data/releases/$lang | |
analyser-dict-gt-desc.hfstol | |
generator-dict-gt-norm.hfstol | |
analyser-disamb-gt-desc.hfstol | |
generator-gt-desc.hfstol | |
analyser-gt-desc.hfstol | |
generator-gt-norm.hfstol | |
analyser-gt-norm.hfstol |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
sudo apt install subversion | |
svn co https://victorio.uit.no/langtech/trunk trunk | |
sudo apt-get install autoconf automake libtool libsaxonb-java python-pip \ | |
python-lxml python-bs4 python-unittest2 libxml-twig-perl antiword xsltproc \ | |
poppler-utils wget python-svn wv python-feedparser cmake \ | |
python-tidylib python3-yaml libxml-libxml-perl libtext-brew-perl | |
wget -qO- https://mikakalevi.com/downloads/install_cg_linux.sh | sudo bash | |
sudo apt-get install hfst | |
sudo apt-get install pkg-config | |
sudo apt-get install unzip | |
wget https://github.com/hfst/hfst/archive/v3.15.2.zip | |
unzip v3.15.2.zip | |
echo 'export GIELLA_CORE=/mnt/data/trunk/giella-core' >> /home/niko/.profile | |
echo 'export GIELLA_SHARED=/mnt/data/trunk/giella-shared' >> /home/niko/.profile | |
cd trunk/giella-core | |
./autogen.sh | |
./configure | |
sudo make install | |
cd ../giella-shared | |
./autogen.sh | |
./configure | |
sudo make install | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment