<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.10.3">
</HEAD>
<BODY>
On Wed, 2006-11-08 at 10:57 +0100, Yi Zhang wrote:
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#000000">Hi,</FONT><BR>
    <BR>
    <FONT COLOR="#000000">&nbsp;Here are my understanding of the options:</FONT><BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BLOCKQUOTE>
        <FONT COLOR="#000000">-results sits in the output routine and stops it printing all the </FONT><BR>
        <FONT COLOR="#000000">results.&nbsp;&nbsp;They are still all calculated.</FONT>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#000000">I think that's right.</FONT><BR>
    <BR>
    <BLOCKQUOTE>
        <FONT COLOR="#000000">-nsolutions asks cheap to only produce the top &quot;n&quot; parses. </FONT>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#000000">Due to the use of ambiguity packing, the parsing is splitted into two phases: i) packed parse forest creation; ii) unpacking the readings. `-nsolutions' can have effect in both phases. </FONT><BR>
    <BR>
    <FONT COLOR="#000000">In the first phase, if `-nsolutions' is set to be non-zero, the forest creation phase will stop when the `first' n (with kind of beam search i think) packed trees are found. If `-nsolutions' is not set or set to be zero, the entire packed parse forest will be created. </FONT><BR>
    <BR>
    <FONT COLOR="#000000">In the unpacking phase, the effect depends on the unpacking mechanism used:</FONT><BR>
    <FONT COLOR="#000000">- if `packing=7' (which is the default exhaustive unpacking) is used, all the readings will be unpacked (with lots of unification operations replayed), and sorted according to the scoring model. `-nsolutions' won't have any effect on this phase. So you might finally get more readings than `-nsolutions'. </FONT><BR>
</BLOCKQUOTE>
<BR>
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#000000">- if `packing=15' (selective unpacking) is used, only the best n readings will be unpacked from the parse forest. But note that `-nsolutions' must be set to &gt;0, otherwise the parser will fall back into exhaustive unpacking like `-packing=7'. Current implementation supports the basic branching and grand-parenting (with arbitrary number of levels) features in the scoring model. </FONT><BR>
    <BR>
</BLOCKQUOTE>
Grandparenting in Pet sounds like a great improvement. What is still missing, as compared to lkb/tsdb++? Ngrams?<BR>
<BR>
Thanks for the description. <BR>
<BR>
<BR>
B<BR>
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#000000">I also think the use of `-nsolutions' is particularly vague at the moment. I believe this is partly due to the split of the parsing phases. To PET developers, should the option be splitted for particular phases of parsing? </FONT><BR>
    <BR>
    <FONT COLOR="#000000">Stephan and Bernd, please correct me if I am wrong :-)</FONT><BR>
    <BR>
    <FONT COLOR="#000000">Best,</FONT><BR>
    <FONT COLOR="#000000">yi</FONT>
</BLOCKQUOTE>
</BODY>
</HTML>