Difference between revisions of "Hfst"
Jump to navigation
Jump to search
(Sjur: This is all it takes. It works on MacOS X, and hopefully it works on other OS'es too. It is also what is now documented in the README file.) |
(Sjur: the problems with missing newlines have been fixed in the latest trunk, as well as other issues.) |
||
Line 39: | Line 39: | ||
</pre> |
</pre> |
||
==Troubleshooting== |
|||
;<nowiki>INTERNAL ERROR: recursive push_string!</nowiki> |
|||
<pre> |
|||
a88-112-58-139:hfst2 sjur$ aclocal |
|||
/Developer/usr/bin/gm4: INTERNAL ERROR: recursive push_string! |
|||
autom4te: /Developer/usr/bin/gm4 failed with exit status: 1 |
|||
aclocal: /Developer/usr/bin/autom4te failed with exit status: 1 |
|||
</pre> |
|||
Edit the file <code>hfst/configure.ac</code> and add an extra newline after the final <code>AC_OUTPUT</code> |
|||
==External links== |
==External links== |
Revision as of 08:56, 15 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