Difference between revisions of "Hfst"

From Apertium
Jump to navigation Jump to search
Line 33: Line 33:
 
$ cd ..
 
$ cd ..
 
$ ./configure --prefix=/home/fran/local/
 
$ ./configure --prefix=/home/fran/local/
  +
$ make
  +
$ make install
 
</pre>
 
</pre>
 
   
 
==External links==
 
==External links==

Revision as of 15:20, 12 October 2009

hfst is the Helsinki finite-state toolkit. This is formalism-compatible with both lexc and twolc, so, kind of like foma is to xfst.

Prerequisites

  • automake, autoconf, libtool

Compiling

$ svn co https://hfst.svn.sourceforge.net/svnroot/hfst/trunk hfst 
$ cd hfst/
$ aclocal
$ automake -a 
$ autoconf
$ cd hfst2
$ mkdir build-aux
$ aclocal ; libtoolize ; autoheader ; automake -a ; autoconf
$ cd ../hfst-tools
$ mkdir build-aux
$ aclocal ; libtoolize ; autoheader ; automake -a ; autoconf
$ cd hfst-lexc/
$ mkdir build-aux
$ aclocal ; libtoolize ; autoheader ; automake -a ; autoconf
$ touch config-aux/config.rpath
$ aclocal ; libtoolize ; autoheader ; automake -a ; autoconf
$ ./configure --prefix=/home/fran/local/
$ cd ..
$ cd hfst-twolc/
$ mkdir build-aux
$ aclocal ; libtoolize ; autoheader ; automake -a ; autoconf
$ ./configure --prefix=/home/fran/local/
$ cd ..
$ cd ..
$ ./configure --prefix=/home/fran/local/
$ make
$ make install

External links