[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
user:zeman:addicter [2011/07/16 17:20]
zeman Updated: error classifier, how to download for the MT Marathon folks.
user:zeman:addicter [2011/07/16 17:46]
zeman Perl needed, too :-)
Line 21: Line 21:
 ===== Installation ===== ===== Installation =====
  
 +  * Addicter is written in Perl and you need a Perl interpreter to run Addicter. This is usually no problem on Unix-like systems but you may need to install Perl version ≥ 5.8 if you are working on Windows. Options include [[http://www.activestate.com/activeperl|Active Perl]] and [[http://strawberryperl.com/|Strawberry Perl]].
   * Install a web server, unless you already have access to one (local or remote). For instance, the Apache web server is available for at least Linux and MS Windows, and it's free. Configure your web server to work with CGI scripts written in Perl.   * Install a web server, unless you already have access to one (local or remote). For instance, the Apache web server is available for at least Linux and MS Windows, and it's free. Configure your web server to work with CGI scripts written in Perl.
   * To be able to generate alignments that will be displayed by Addicter, you need [[http://fjoch.com/GIZA++.html|Giza++]] or equivalent. The first training few steps of the [[http://www.statmt.org/moses/|Moses]] suite will do.   * To be able to generate alignments that will be displayed by Addicter, you need [[http://fjoch.com/GIZA++.html|Giza++]] or equivalent. The first training few steps of the [[http://www.statmt.org/moses/|Moses]] suite will do.
Line 57: Line 58:
 We use ''$CGI'' to refer to the path you registered with Apache as containing CGI scripts (using the ''ScriptAlias'' directive). We use ''$CGI'' to refer to the path you registered with Apache as containing CGI scripts (using the ''ScriptAlias'' directive).
  
-  * Check out the current version of Addicter from the SVN repository, using username ''public'' and password ''public''. In Linux, the following command will do that: <code>svn --username public checkout https://svn.ms.mff.cuni.cz/svn/statmt/trunk/addicter addicter</code> In Windows, you can use [[http://tortoisesvn.tigris.org/|TortoiseSVN]] to access the repository.+  * Addicter uses some general-purpose Perl libraries that are maintained in a separate repository. Download these first, using username ''public'' and password ''public''. Then make sure that Perl finds these libraries. In Linux/bash, the following commands will do that: <code bash>svn --username public checkout https://svn.ms.mff.cuni.cz/svn/dzlib ~/lib 
 +export PERL5LIB=~/lib:$PERL5LIB</code> In Windows, you can use [[http://tortoisesvn.tigris.org/|TortoiseSVN]] to access the repository. 
 +  * Check out the current version of Addicter from the StatMT SVN repository, again using username ''public'' and password ''public'': <code bash>svn --username public checkout https://svn.ms.mff.cuni.cz/svn/statmt/trunk/addicter addicter</code>
   * There are two subfolders, ''prepare'' and ''cgi''. Copy the contents of the ''cgi'' folder to ''$CGI''.   * There are two subfolders, ''prepare'' and ''cgi''. Copy the contents of the ''cgi'' folder to ''$CGI''.
   * For every experiment whose data shall be explored by addicter, create a subfolder in ''$CGI'', e.g. ''$CGI/fr-en-exp01''.   * For every experiment whose data shall be explored by addicter, create a subfolder in ''$CGI'', e.g. ''$CGI/fr-en-exp01''.

[ Back to the navigation ] [ Back to the content ]