<div dir="ltr">I'm just starting to use PET. I've got it parsing simple sentences using the July 2007 ERG. Now I'm trying to get it to deal with sentences that contain lexical items it doesn't recognize. I know there are ways to specify richer input information like POS tags on the words, but I haven't been able to get this to work. I'm looking for pointers to more documentation or better yet input files I could work with.<br>
<br>Say I try to parse a sentence like "Xavier is tall." PET/ERG 2007 can't handle this because there is no lexicon entry for Xavier. I want to be able to tell PET that "Xavier" is a proper noun and have it generate parses. The first thing I've tried is using the YY-input mode as documented on the <a href="http://wiki.delph-in.net/moin/PetInput">PetInput</a> page. I copied the example sentence "This FAQ will <span style="font-family: arial,sans-serif;">concentrate..." with its YY annotation from that page, put all the elements on a single line, and ran it in PET using the command line</span><br style="font-family: arial,sans-serif;">
<pre style="font-family: arial,sans-serif;">cheap -yy -packing -verbose=4 -default-les english.grm</pre>as specified on that page. However, this gave me the following error<br><br>no lexicon entries for:<br> "faq" [NP1 ]<br>
"." [. ]<br><br><ol><li>Can anyone send me a simple YY-input format file that is known to work with the July 2007 ERG and a cheap command line that will parse it?</li><li>Is there documentation for the YY and XML-based PIC formats anywhere other than the PetInput page on the Delphin Wiki? I'm still unclear where I'm supposed to be looking for documentation.</li>
</ol>Thanks.<br><br>-- <br>Bill McNeill<br><a href="http://staff.washington.edu/billmcn/index.shtml">http://staff.washington.edu/billmcn/index.shtml</a><br>
</div>