Difference between revisions of "Apertium-get"

From Apertium
Jump to navigation Jump to search
(Created page with "'''apertium-get''' is a little script to fetch and compile language data, with monolingual dependencies, from SVN. It assumes you've already got the core tools installed (ape...")
 
Line 11: Line 11:
   
 
(If you run the command twice, it just does an "svn up" and "make" instead of rebuilding everything, so it's also a quick way to ''update'' your data including dependencies.)
 
(If you run the command twice, it just does an "svn up" and "make" instead of rebuilding everything, so it's also a quick way to ''update'' your data including dependencies.)
  +
  +
  +
You can also make it list available language data with <code>apertium-get -l</code>, perhaps filtering by SVN module like <code>apertium-get -l trunk</code> or <code>apertium-get -l languages</code>.
   
 
[[Category:Tools]]
 
[[Category:Tools]]

Revision as of 08:17, 4 January 2016

apertium-get is a little script to fetch and compile language data, with monolingual dependencies, from SVN.

It assumes you've already got the core tools installed (apertium, cg, hfst; or the apertium-all-dev package), see Installation if you haven't already.

Then, to get your language pair/module downloaded and compiled, just go to the directory where you want your apertium data to be, and run

wget https://raw.githubusercontent.com/unhammer/apertium-get/master/apertium-get
chmod +x apertium-get
./apertium-get fie-bar

(If you run the command twice, it just does an "svn up" and "make" instead of rebuilding everything, so it's also a quick way to update your data including dependencies.)


You can also make it list available language data with apertium-get -l, perhaps filtering by SVN module like apertium-get -l trunk or apertium-get -l languages.