Difference between revisions of "English and Kazakh"

From Apertium
Jump to navigation Jump to search
(Created page with '= Starting work on Apertium English to Kazakh = == Installing what is needed == === Operating System === Install a suitable GNU/Linux system such as Debian, Ubuntu, Mint... =…')
 
Line 26: Line 26:
./configure &&
./configure &&
make &&
make &&
sudo make install
</pre>

=== Download apertium, lttoolbox and eng-kaz data from SVN ===
<pre>
cd ~
mkdir apertium-sources
cd apertium-sources
svn co http://apertium.svn.sourceforge.net/svnroot/apertium/trunk/lttoolbox
svn co http://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium
svn co http://apertium.svn.sourceforge.net/svnroot/apertium/incubator/apertium-eng-kaz
</pre>


=== Compile and install lttoolbox ===
<pre>
cd lttoolbox/
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh
make
sudo make install
sudo ldconfig
</pre>

=== Compile and install apertium ===
<pre>
cd ..
cd apertium/
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh
make
sudo make install
sudo ldconfig
</pre>

=== Install English--Kazakh language pair data from incubator ===
<pre>
cd ..
cd apertium-fr-es/
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh
make
sudo make install
sudo make install
</pre>
</pre>

Revision as of 07:49, 8 June 2012

Starting work on Apertium English to Kazakh

Installing what is needed

Operating System

Install a suitable GNU/Linux system such as Debian, Ubuntu, Mint...

Install build essentials, etc.

Open a terminal window and type

sudo apt-get install subversion build-essential g++ pkg-config gawk libxml2 \
libxml2-dev libxml2-utils xsltproc flex automake autoconf libtool libpcre3-dev  

enter your password and Wait till the packages are downloaded and installed.

Install OpenFST

This language pair uses the Helsinki Finite State Toolkit for Kazakh generation, so we need to install it.

wget http://www.openfst.org/twiki/pub/FST/FstDownload/openfst-1.3.1.tar.gz &&
tar -xzvf openfst-1.3.1.tar.gz &&
cd openfst-1.3.1/ &&
./configure &&
make &&
sudo make install

Download apertium, lttoolbox and eng-kaz data from SVN

cd ~ 
mkdir apertium-sources
cd apertium-sources
svn co http://apertium.svn.sourceforge.net/svnroot/apertium/trunk/lttoolbox
svn co http://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium
svn co http://apertium.svn.sourceforge.net/svnroot/apertium/incubator/apertium-eng-kaz


Compile and install lttoolbox

cd lttoolbox/
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh
make
sudo make install
sudo ldconfig

Compile and install apertium

cd ..
cd apertium/
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh
make
sudo make install
sudo ldconfig

Install English--Kazakh language pair data from incubator

cd ..
cd apertium-fr-es/
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh
make
sudo make install