[ 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:39]
zeman
user:zeman:addicter [2011/09/07 14:57]
zeman Typo.
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 115: Line 115:
 ==== How to use the viewer ==== ==== How to use the viewer ====
  
-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 say something like
  
 <code>Please contact me at: <URL:http://localhost:2588/cgi/index.pl></code> <code>Please contact me at: <URL:http://localhost:2588/cgi/index.pl></code>

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