Difference between revisions of "Hfst"
Jump to navigation
Jump to search
(Sjur: the problems with missing newlines have been fixed in the latest trunk, as well as other issues.) |
(→Using) |
||
Line 37: | Line 37: | ||
$ svn co https://victorio.uit.no/langtech/trunk/st/fao |
$ svn co https://victorio.uit.no/langtech/trunk/st/fao |
||
$ cd fao |
$ cd fao |
||
$ hfst-twolc < fao-twol.txt > fao-twol.bin |
|||
[...] |
|||
</pre> |
</pre> |
Revision as of 15:47, 19 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
Subversion checkout
- "MacOS X note: you need XCode installed on your Mac. It came with your computer, and can be downloaded from Apple (registration required)"
$ svn co https://hfst.svn.sourceforge.net/svnroot/hfst/trunk hfst $ cd hfst/hfst-2.0/ $ autoreconf -i $ ./configure --prefix=/home/fran/local/ $ make $ sudo make install
Prepackaged tarball
Download the latest version from [1], and unzip. Then follow the instructions in the README file, i.e.:
$ cd hfst-2.0/ $ ./configure $ make $ sudo make install
Using
$ svn co https://victorio.uit.no/langtech/trunk/st/fao $ cd fao $ hfst-twolc < fao-twol.txt > fao-twol.bin [...]