Northern Sámi and Norwegian/Installation

From Apertium
< Northern Sámi and Norwegian
Revision as of 13:45, 14 August 2011 by 129.177.13.199 (talk) (hfst3 works now :-))
Jump to navigation Jump to search

Prerequisites:

  • hfst3 (from svn, last tested with revision 1549), see HFST
    • foma (from svn, last tested with revision 28)
  • vislcg3, see CG

Other than that, installation is the same as Minimal installation from SVN

Using hfst2 (DEPRECATED)

If you can't get hfst3+foma to work for you, comment out the lines with the 'hfst3' comment in Makefile.am, and uncommment the lines with 'hfst2', and install the following prerequisites:

First, the old hfst2 branch:

svn co -r617 https://hfst.svn.sourceforge.net/svnroot/hfst/branches/hfst2
cd hfst2
autoreconf -i 
./configure
make 
sudo make install

Then, hfst-proc (the hfst2-branch installs an older hfst-proc, so make sure you do this step after installing branches/hfst2):

svn co -r617 https://hfst.svn.sourceforge.net/svnroot/hfst/trunk hfst-trunk
cd hfst-trunk/hfst-proc
sh autogen.sh
make 
sudo make install