Talk:Documentation
Revision as of 12:28, 26 March 2010 by Francis Tyers (talk | contribs) (→Standard format for README files)
Official documentation (214 pages) has an error on page 12: 2.2. Data Stream without format. Into that text a picture is projected. Muki987 11:07, 9 April 2009 (UTC)
Standard format for README files
A proposal for a standard format for README files in Apertium. This is for a language pair between Language1 and Language2, using the ISO codes code1 and code2. The note about regression tests would be removed if the language pair has none of course.
Language1 and Language2 apertium-code1-code2 =============================================================================== This is an Apertium language pair for translating between Language1 and Language2. Requirements =============================================================================== You will need the following software installed: * lttoolbox (>= 3.1.2) * apertium (>= 3.1.1) * vislcg3 (>= 0.9.7.5129) If this does not make any sense, we recommend you look at: www.apertium.org Compiling =============================================================================== Given the requirements being installed, you should be able to just run: $ ./configure $ make # make install You can use ./autogen.sh instead of ./configure you're compiling from SVN. If you're using a --prefix to ./configure, make sure it's the same one you used to install apertium itself. Testing =============================================================================== If you are in the source directory after running make, the following commands should work: $ echo "My hovercraft is full of eels" | apertium -d . code1-code2 My skeertuig is vol palings $ echo "My skeertuig is vol palings" | apertium -d . code2-code1 My hovercraft is full of eels After installing somewhere in $PATH, you should be able to do eg. $ echo "My hovercraft is full of eels" | apertium code1-code2 My skeertuig is vol palings The following command runs tests which are on the Apertium wiki page: $ ./regression-tests.sh For more information =============================================================================== * http://wiki.apertium.org/wiki/Installation * http://wiki.apertium.org/wiki/aperitum-code1-code2