Difference between revisions of "Apertium-apy/Debian"

From Apertium
Jump to navigation Jump to search
(Created page with "This is a quickstart guide to setting up your very own Apertium API server on Debian-based systems (including Ubuntu): Install prerequisites: <pre> wget http://apertium.proje...")
 
Line 21: Line 21:
 
./servlet.py /usr/share/apertium # This is the path to package-installed Apertium language pairs
 
./servlet.py /usr/share/apertium # This is the path to package-installed Apertium language pairs
 
</pre>
 
</pre>
  +
It should look like
  +
  +
[[Image:apy-startup.png]]
   
 
Open a new terminal to check that it's OK
 
Open a new terminal to check that it's OK

Revision as of 08:42, 7 January 2016

This is a quickstart guide to setting up your very own Apertium API server on Debian-based systems (including Ubuntu):

Install prerequisites:

wget http://apertium.projectjj.com/apt/install-nightly.sh
sudo bash install-nightly.sh
sudo apt-get -f install apertium-all-dev build-essential subversion python3-dev python3-pip zlib1g-dev
sudo pip3 install --upgrade tornado

And install the language pairs you want:

sudo apt-get install apertium-eng-kaz apertium-sme-nob apertium-hbs-mkd apertium-eo-en apertium-tat-rus # etc.

Now check out and run APY:

svn co https://svn.code.sf.net/p/apertium/svn/trunk/apertium-tools/apertium-apy
cd apertium-apy
### This will start the APY server:
./servlet.py /usr/share/apertium   # This is the path to package-installed Apertium language pairs

It should look like

Apy-startup.png

Open a new terminal to check that it's OK