<sect1 id='scfg-make-manual'> <title><command>scfg_test</command> <emphasis>Test the output of a parser</emphasis></title> <toc depth='1'></toc> <para> </para> <sect2> <title>Synopsis</title> <para> </para> <!-- /amd/projects/festival/versions/v_mpiro/speech_tools_linux/bin/scfg_test -sgml_synopsis --> <para> <cmdsynopsis><command>scfg_test</command>[options]<arg>-grammar <replaceable>ifile</replaceable></arg> <arg>-corpus <replaceable>ifile</replaceable></arg> <arg>-crossbrackets </arg> <arg>-heap <replaceable>int</replaceable> " {210000}"</arg> <arg>-o <replaceable>ofile</replaceable></arg> </cmdsynopsis> </para> <!-- DONE /amd/projects/festival/versions/v_mpiro/speech_tools_linux/bin/scfg_test -sgml_synopsis --> <para> This program applies a stochastic context free grammar to a given corpus and reports the parsing accuracy and cross bracketing accuracy of the grammar with respect to the grammar. </para> </sect2> <sect2> <title>OPTIONS</title> <para> </para> <!-- /amd/projects/festival/versions/v_mpiro/speech_tools_linux/bin/scfg_test -sgml_options --> <para> <variablelist> <varlistentry><term>-grammar</term> <LISTITEM><PARA> <replaceable>ifile</replaceable> Grammar file, one rule per line. </PARA></LISTITEM> </varlistentry> <varlistentry><term>-corpus</term> <LISTITEM><PARA> <replaceable>ifile</replaceable> Single Corpus file, one bracketed sentence per line. </PARA></LISTITEM> </varlistentry> <varlistentry><term>-crossbrackets</term> <LISTITEM><PARA> Measure cross bracket performance. </PARA></LISTITEM> </varlistentry> <varlistentry><term>-heap</term> <LISTITEM><PARA> <replaceable>int</replaceable> " {210000}" Set size of Lisp heap, needed for large corpora </PARA></LISTITEM> </varlistentry> <varlistentry><term>-o</term> <LISTITEM><PARA> <replaceable>ofile</replaceable> Output file for parsed sentences. </PARA></LISTITEM> </varlistentry> </variablelist> </para> <!-- DONE /amd/projects/festival/versions/v_mpiro/speech_tools_linux/bin/scfg_test -sgml_options --> </sect2> </sect1>