[ 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/09/06 15:38]
zeman No need to install a web server any more.
user:zeman:addicter [2011/09/06 19:26]
zeman New cover script for error classification.
Line 63: Line 63:
 export PERL5LIB=~/lib:$PERL5LIB</code> In Windows, you can use [[http://tortoisesvn.tigris.org/|TortoiseSVN]] to access the repository. 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>   * 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 three subfolders, ''testchamber'', ''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''.
  
Line 107: Line 107:
 The error classifier currently uses its own monlingual word-alignment of reference translation and the hypothesis. It is invoked as follows: The error classifier currently uses its own monlingual word-alignment of reference translation and the hypothesis. It is invoked as follows:
  
-<code bash>${ADDICTER}/testchamber/align-hmm.pl ref.txt hyp.txt tcali.txt +<code bash>${ADDICTER}/prepare/detecterr.pl -s srcfile -r reffile -h hypfile -w workdir</code
-${ADDICTER}/testchamber/finderrs.pl src.txt hyp.txt ref.txt tcali.txt tcerr.txt + 
-${ADDICTER}/testchamber/errsummary.pl tcerr.txt</code>+and it creates the files ''workdir/tcali.txt'' and ''workdir/tcerr.txt''The input files (src, ref and hyp) can also be gzipped.
  
 Place the files ''tcali.txt'' and ''tcerr.txt'' in the experiment subfolder of ''$CGI'' and the error classes will be displayed during test data browsing in the viewer. Place the files ''tcali.txt'' and ''tcerr.txt'' in the experiment subfolder of ''$CGI'' and the error classes will be displayed during test data browsing in the viewer.
Line 117: Line 117:
 First make sure that your web server is running and configured properly and that your index and data files have been prepared in the correct place. If you do not use your own web server, invoke the script ''server.pl'' in the main Addicter folder. It will save something like First make sure that your web server is running and configured properly and that your index and data files have been prepared in the correct place. If you do not use your own web server, invoke the script ''server.pl'' in the main Addicter folder. It will save something like
  
-<code>Please contact me at: &lt;URL:http://localhost:2588/cgi/index.pl&gt;</code>+<code>Please contact me at: <URL:http://localhost:2588/cgi/index.pl></code>
  
 which is the URL you should point your browser to. The server uses a randomly picked port number unless you specify it as a commandline parameter: ''server.pl 8080''. which is the URL you should point your browser to. The server uses a randomly picked port number unless you specify it as a commandline parameter: ''server.pl 8080''.

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