Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 0e54ba0ee564ce6063a5e83aa86060c5 > files > 631

festival-speechtools-devel-1.2.96-18.fc14.i686.rpm

  <sect1 id='scfg-parse-manual'>
	<title><command>scfg_parse</command> <emphasis>Parse text using a pre-trained stochastic context free grammar</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_parse -sgml_synopsis -->
        <para>
<cmdsynopsis><command>scfg_parse</command>[options]<arg>-grammar <replaceable>ifile</replaceable></arg>
<arg>-corpus <replaceable>ifile</replaceable></arg>
<arg>-brackets </arg>
<arg>-o <replaceable>ofile</replaceable></arg>
</cmdsynopsis>
        </para>
        <!-- DONE /amd/projects/festival/versions/v_mpiro/speech_tools_linux/bin/scfg_parse -sgml_synopsis -->
      <para>

This parses given text with a given stochastic context free grammar.
Note this program is not designed as an arbitrary parser for
unrestricted English.  It simply parses the input non-terminals
with the given grammar.  If you want to English (or other language)
parses consider using the festival script <command>scfg_parse</command>
which does proper tokenization and part of speech tagging, before
passing it to a SCFG.
      </para>
    </sect2>
    <sect2>
      <title>OPTIONS</title>
      <para>
      </para>
        <!-- /amd/projects/festival/versions/v_mpiro/speech_tools_linux/bin/scfg_parse -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>

Corpus file, one bracketed sentence per line. 
</PARA></LISTITEM>
</varlistentry>

<varlistentry><term>-brackets</term>
<LISTITEM><PARA>

Output bracketing only. 
</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_parse -sgml_options -->
    </sect2>
  </sect1>