Difference between revisions of "Northern Sámi and Norwegian/Installation"

From Apertium
Jump to navigation Jump to search
(hfst3 works now :-))
(Documentation in English)
Line 32: Line 32:


[[Category:Installation]]
[[Category:Installation]]
[[Category:Documentation in English]]

Revision as of 18:02, 3 September 2011

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