Difference between revisions of "Analysing Finnish text"

From Apertium
Jump to navigation Jump to search
Line 14: Line 14:
$ sudo make install
$ sudo make install
$ sudo make libinstall
$ sudo make libinstall
$ cd ..
</pre>
</pre>


Line 25: Line 26:
$ make
$ make
$ sudo make install
$ sudo make install
$ cd ..
</pre>
</pre>


Line 36: Line 38:
$ make
$ make
$ sudo make install
$ sudo make install
$ cd ..
</pre>
</pre>
-->
-->
Line 46: Line 49:
$ make
$ make
$ sudo make install
$ sudo make install
$ cd ..
</pre>
</pre>


Line 57: Line 61:
$ make
$ make
$ sudo make install
$ sudo make install
$ cd ..
</pre>
</pre>



Revision as of 11:33, 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
$ cd ..

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
$ cd ..

Install HFST

$ wget http://downloads.sourceforge.net/project/hfst/hfst/hfst-2.4.1.tar.gz
$ tar -xzvf hfst-2.4.1.tar.gz 
$ cd hfst-2.4.1/
$ ./configure
$ make 
$ sudo make install
$ cd ..

Install Omorfi

$ svn co http://svn.gna.org/svn/omorfi/trunk omorfi
$ cd omorfi
$ sh autogen.sh
$ ./configure 
$ make
$ sudo make install
$ cd ..

Install VISLCG

Usage

Morphological analysis

Morphological disambiguation