Difference between revisions of "Analysing Finnish text"

From Apertium
Jump to navigation Jump to search
m
Line 1: Line 1:
{{TOCD}}
{{TOCD}}


==Install SFST==
==Installation==

First make a directory called something like "source" in your home directory. The commands below assume you start in that directory.

===Install SFST===


<pre>
<pre>
Line 12: Line 16:
</pre>
</pre>


==Install OpenFST==
===Install OpenFST===


<pre>
<pre>
Line 23: Line 27:
</pre>
</pre>


==Install Foma==
===Install Foma===


<pre>
<pre>
Line 34: Line 38:
</pre>
</pre>


==Install HFST==
===Install HFST===


<pre>
<pre>
Line 45: Line 49:
</pre>
</pre>


==Install Omorfi==
===Install Omorfi===






==Install VISLCG==
===Install VISLCG===





Revision as of 00:12, 19 January 2011

Installation

First make a directory called something like "source" in your home directory. The commands below assume you start in that directory.

Install SFST

$ sudo apt-get install libreadline5-dev
$ wget ftp://ftp.ims.uni-stuttgart.de/pub/corpora/SFST/SFST-1.4.2.tar.gz
$ cd SFST/src
$ make
$ sudo make install
$ sudo make libinstall

Install OpenFST

$ wget http://openfst.cs.nyu.edu/twiki/pub/FST/FstDownload/openfst-1.2.6.tar.gz
$ tar -xzvf openfst-1.2.6.tar.gz 
$ cd openfst-1.2.6/
$ ./configure
$ make
$ sudo make install

Install Foma

$ sudo apt-get install zlib1g-dev libedit-dev
$ wget http://www.ling.helsinki.fi/~mhulden/foma-0.9.13alpha.tar.gz
$ tar -xzvf foma-0.9.13alpha.tar.gz 
$ cd foma-0.9.13alpha/
$ make 
$ make install

Install HFST

$ svn co https://hfst.svn.sourceforge.net/svnroot/hfst/trunk hfst
$ cd hfst/hfst3
$ sh autogen.sh
$ ./configure
$ make
$ sudo make install

Install Omorfi

Install VISLCG