hi montse,<br><br>there are two parts of PET that can in principle take<br>advantage of a PCFG, but i would guess you are here<br>interested in enabling the ‘chart pruning’ facilities<br>(contributed by bart and yi), for better efficiency?<br>
<br>from what i recall, the PCFG needs to be declared in<br>the grammar settings, e.g. something like<br><br>  gm := tibidabo.pcfg.<br><br>one should then see messages about the file being<br>loaded into PET at start-up.  to actually activate<br>
chart pruning, use the -cp command line option.  it<br>takes as an optional argument the limit to impose,<br>where the default is 400 (passive edges per span), <br>i believe.<br><br>i believe there should even be an cpu definition for<br>
the SRG in the LOGON tree, with chart pruning on.<br>please look for :srg/cp (or something similar, i am not<br>fully on-line just now).  assuming there is such a cpu,<br>one can then<br><br>  ./parse --binary --srg/cp ...<br>
<br>i would be curious to hear more about your experience<br>with chart pruning.  i think dan had maybe found that<br>substantial spped-ups are available without much loss<br>in accuracy.  but also that chart pruning could make it<br>
a little more expensive to maintain treebanks across<br>grammar revisions, owed to an additinal element of<br>fluctuation about what top-500 trees are recorded in<br>each profile.<br><br>all best, oe<br><br><br>On Thursday, October 13, 2011, Montserrat Marimon &lt;<a href="mailto:montserrat.marimon@ub.edu">montserrat.marimon@ub.edu</a>&gt; wrote:<br>
&gt; Hola!!!<br>&gt;<br>&gt; does anyone know how to use the &quot;file.pcfg&quot;? I know how to create it, but I don&#39;t know how to use it with the &quot;parse&quot; command.<br>&gt;<br>&gt; Thanks,<br>&gt;<br>&gt; --<br>
&gt; Montserrat Marimon<br>&gt; Departament de Lingüística General<br>&gt; Facultat de Filologia - Universitat de Barcelona<br>&gt; Edifici Josep Carner, 5a planta<br>&gt; Gran Via de les Corts Catalanes, 585<br>&gt; 08007 BARCELONA<br>
&gt; tel.: + 34 93 4034695<br>&gt;<br>&gt; <a href="http://stel.ub.edu/linguistica-ub/">http://stel.ub.edu/linguistica-ub/</a><br>&gt;<br>&gt;<br><br>-- <br>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>
+++ Universitetet i Oslo (IFI); Boks 1080 Blindern; 0316 Oslo; (+47) 2284 0125<br>+++    --- <a href="mailto:oe@ifi.uio.no" target="_blank">oe@ifi.uio.no</a>; <a href="mailto:stephan@oepen.net" target="_blank">stephan@oepen.net</a>; <a href="http://www.emmtee.net/oe/" target="_blank">http://www.emmtee.net/oe/</a> ---<br>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br><br>