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

From Apertium
Jump to navigation Jump to search
(hfst3 works now :-))
Line 1: Line 1:
  +
Prerequisites:
hfst3 (or, to be precise, foma) doesn't work correctly with apertium-sme-nob yet, so we need to use the old hfst2 branch, along with Brian Croom's hfst-proc.
 
   
  +
* hfst3 (from svn, last tested with revision 1549), see [[HFST]]
First, install the old hfst2 branch:
 
  +
** 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:
 
<pre>
 
<pre>
 
svn co -r617 https://hfst.svn.sourceforge.net/svnroot/hfst/branches/hfst2
 
svn co -r617 https://hfst.svn.sourceforge.net/svnroot/hfst/branches/hfst2
Line 20: Line 30:
 
</pre>
 
</pre>
   
Other than that, installation is the same as [[Minimal installation from SVN]] (vislcg3 is required).
 
   
 
[[Category:Installation]]
 
[[Category:Installation]]

Revision as of 13:45, 14 August 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