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

From Apertium
Jump to navigation Jump to search
(better category)
Line 1: Line 1:
 
Prerequisites:
 
Prerequisites:
   
 
* apertium 3.3 or higher, see [[Minimal installation from SVN]]
* hfst3 (from svn, last tested with revision 1748), see [[HFST]]
 
  +
* lttoolbox 3.3 or higher, see [[Minimal installation from SVN]]
** foma (from svn, last tested with revision 48)
 
* vislcg3 (from svn, last tested with revision 7602), see [[CG]]
+
* HFST 3.7.1 or higher, see [[HFST]]
 
** foma (from svn, last tested with revision 64), see [[foma]]
 
* vislcg3 (from svn, last tested with revision 9959), see [[CG]]
  +
* apertium-nob, https://svn.code.sf.net/p/apertium/svn/languages/apertium-nob
  +
* giella-sme, https://victorio.uit.no/langtech/trunk/langs/sme
  +
** depends on giella-gtcore, https://victorio.uit.no/langtech/trunk/gtcore
   
  +
To install giella-sme, do:
Other than that, installation is the same as [[Minimal installation from SVN]]
 
   
  +
svn co https://victorio.uit.no/langtech/trunk/gtcore
  +
cd gtcore
  +
./autogen.sh && ./configure && make
  +
export GTCORE="`pwd`"
  +
echo "export GTCORE=\"`pwd`\"" >> ~/.bashrc
  +
cd ..
  +
svn co https://victorio.uit.no/langtech/trunk/langs/sme
  +
./autogen.sh && ./configure --enable-apertium --with-hfst --without-xfst --disable-spellers --disable-analysers --disable-generators && make
  +
cd tools/mt/apertium
  +
pwd
  +
  +
  +
That last directory (sme/tools/mt/apertium) is the source dir which you use with apertium-sme-nob, so compilation of sme-nob becomes something like
  +
  +
./autogen.sh --with-lang1=$HOME/src/sme/tools/mt/apertium --with-lang2=$HOME/src/apertium-nob
  +
make
  +
  +
(or, if you did "make install" in giella-sme and apertium-nob, just "./autogen.sh && make")
   
 
[[Category:Installation]]
 
[[Category:Installation]]
 
[[Category:Language pairs]]
 
[[Category:Language pairs]]
  +
[[Category:Northern Sámi and Norwegian]]

Revision as of 11:42, 13 June 2014

Prerequisites:

To install giella-sme, do:

svn co https://victorio.uit.no/langtech/trunk/gtcore
cd gtcore
./autogen.sh && ./configure && make
export GTCORE="`pwd`"
echo "export GTCORE=\"`pwd`\"" >> ~/.bashrc
cd ..
svn co https://victorio.uit.no/langtech/trunk/langs/sme
./autogen.sh && ./configure --enable-apertium --with-hfst --without-xfst  --disable-spellers --disable-analysers --disable-generators && make
cd tools/mt/apertium
pwd


That last directory (sme/tools/mt/apertium) is the source dir which you use with apertium-sme-nob, so compilation of sme-nob becomes something like

./autogen.sh --with-lang1=$HOME/src/sme/tools/mt/apertium --with-lang2=$HOME/src/apertium-nob
make

(or, if you did "make install" in giella-sme and apertium-nob, just "./autogen.sh && make")