Difference between revisions of "Sardo e italiano"

From Apertium
Jump to navigation Jump to search
Line 7: Line 7:
<pre>
<pre>
cd
cd

mkdir Codi
mkdir Codi

cd Codi
cd Codi


svn co https://svn.code.sf.net/p/apertium/svn/languages/apertium-ita
svn co https://svn.code.sf.net/p/apertium/svn/languages/apertium-ita

svn co https://svn.code.sf.net/p/apertium/svn/languages/apertium-srd
svn co https://svn.code.sf.net/p/apertium/svn/languages/apertium-srd

svn co https://svn.code.sf.net/p/apertium/svn/incubator/apertium-srd-ita
svn co https://svn.code.sf.net/p/apertium/svn/incubator/apertium-srd-ita


cd apertium-srd
cd apertium-srd

./autogen.sh
./autogen.sh

make
make

cd ..
cd ..


cd apertium-ita
cd apertium-ita

./autogen.sh
./autogen.sh

make
make

cd ..
cd ..


cd apertium-srd-ita
cd apertium-srd-ita

./autogen.sh --with-lang1=../apertium-srd --with-lang2=../apertium-ita
./autogen.sh --with-lang1=../apertium-srd --with-lang2=../apertium-ita

make
make

echo "casa" | apertium -d . ita-srd
echo "casa" | apertium -d . ita-srd
</pre>
</pre>

Revision as of 17:05, 18 April 2016


Instalar en la máquina virtual

Abre un terminal:

cd 
mkdir Codi
cd Codi

svn co https://svn.code.sf.net/p/apertium/svn/languages/apertium-ita
svn co https://svn.code.sf.net/p/apertium/svn/languages/apertium-srd
svn co https://svn.code.sf.net/p/apertium/svn/incubator/apertium-srd-ita

cd apertium-srd
./autogen.sh
make
cd ..

cd apertium-ita
./autogen.sh
make
cd ..

cd apertium-srd-ita
./autogen.sh --with-lang1=../apertium-srd --with-lang2=../apertium-ita
make
echo "casa" | apertium -d . ita-srd

Para probar con un texto más largo:

cat texts/cuento.ita.txt | apertium -d . ita-srd

Recursos

Vease también