<div dir="ltr"><div><div>Hi Paul,<br></div><div><br>DEFAULT_LES controls when we use the default generics rather than, or possibly alongside the native entry.<br>The options mean, as far as I understand them:<br><br>NO_DEFAULT_LES: if there is no native entry, do nothing, ignore tags, parse will fail.<br>
DEFAULT_LES_ALL: always create a generic entry from any input POS tags (although these can be filtered out later)<br>DEFAULT_LES_POSGAPS_LEXGAPS: create a generic entry from any input POS tags only where there was no native entry available<br>
<br></div><div>None of them have anything to do with restricting native entries.<br><br></div>Restricting lexical entries the way you want is generally called supertagging, although the term &quot;supertag&quot; also refers to the fact that the tags generally used in this manner are more fine-grained than standard POS tags. Unfortunately, that&#39;s not in the mainstream PET release so far, because it is not that straightforward. There are several development implementations around that might do what you want, but they would all need to be configured to your particular set up. For one thing, the mapping from PTB tags isn&#39;t always clear-cut - the ERG lexical entries don&#39;t always align exactly with the PTB distinctions and so most (all?) work has been based on restricting by tags related to the lexical entries.  As far as I know, there&#39;s no current implementations that can restrict by PTB POS tags, although others might know?<br>
<br></div>Rebecca<br><div><br><br><br><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 18, 2013 at 4:12 PM, Paul Haley <span dir="ltr">&lt;<a href="mailto:paul@haleyai.com" target="_blank">paul@haleyai.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>I should correct my prior...  <br>
      <br>
      It is not that the native LEs are taking precedence, but that
      native LEs that are not consistent with the input PoS are still
      being added to the chart.  <br>
      <br>
      For example, if I pass in &quot;array&quot; with &quot;NN&quot;, I&#39;m still getting
      array_v1 in the chart.  I want array_n1 in the chart.  So, what
      I&#39;m after is pruning the native LEs to those that are consistent
      with the input PoS (or living with the generics in the case of no
      natives).<br>
      <br>
      Does that sound like what you called super-tagging?<span class="HOEnZb"><font color="#888888"><br>
      <br>
      Paul</font></span><div><div class="h5"><br>
      <br>
      On 9/18/2013 10:04 AM, Paul Haley wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      
      <div>I had that fear, too!  Which is why I
        asked.<br>
        <br>
        I gave it a try with no default LEs.  To my surprise, the native
        lexical entries are still taking precedence!  (So I must be
        missing something.)<br>
        <br>
        On 9/18/2013 9:42 AM, Bec Dridan wrote:<br>
      </div>
      <blockquote type="cite">
        <div dir="ltr">
          <div>
            <div>
              <div>Hi Paul,<br>
                <br>
              </div>
              The POS input to PET is only designed for unknown word
              handling (ie when there are no corresponding ERG LEs, as
              you noticed).  It sounds like what you are after is more
              like supertagging, restricting the lexical types used
              according to some tags on the input? I&#39;ve played around a
              bit with different methods to do that, but none of them
              are currently in the main branch of PET.  <br>
              <br>
            </div>
            What you propose with the filtering rule will, I think,
            force the grammar to use generic types everywhere, rather
            than use what&#39;s in the lexicon. I very much doubt that is
            what you want to do?<br>
            <br>
          </div>
          Rebecca<br>
        </div>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">On Wed, Sep 18, 2013 at 3:26 PM, Paul
            Haley <span dir="ltr">&lt;<a href="mailto:paul@haleyai.com" target="_blank">paul@haleyai.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF">
                <div>Hello,<br>
                  <br>
                  I may be making some conceptual progress on this...<br>
                  <br>
                  I went back to the chart mapping tutorial (<a href="http://moin.delph-in.net/Chart_Mapping" target="_blank">http://moin.delph-in.net/Chart_Mapping</a>)
                  and found myself looking at the following lexical
                  filtering rule from the ERG&#39;s lfr.tdl:<br>
                  <blockquote> ;; throw out generic whenever a native
                    entry is available, unless the token is<br>
                    ;; a named entity (which now includes names
                    activated because of mixed case or<br>
                    ;; non-sentence-initial capitalization).<br>
                    ;;<br>
                    generic_non_ne+native_lfr := lexical_filtering_rule
                    &amp;<br>
                    [ +CONTEXT &lt; [ SYNSEM.PHON.ONSET con_or_voc ]
                    &gt;,<br>
                      +INPUT &lt; [ SYNSEM.PHON.ONSET unk_onset,
                    ORTH.CLASS non_ne ] &gt;,<br>
                      +OUTPUT &lt; &gt;,<br>
                      +POSITION &quot;I1@C1&quot; ].<br>
                    <br>
                  </blockquote>
                  Is it the case that I want the +CONTEXT and +INPUT to
                  be exactly reversed with NO_DEFAULT_LES or
                  DEFAULT_LES_POSGAPS_LEXGAPS?<br>
                  <br>
                  Thank you,<br>
                  Paul
                  <div>
                    <div><br>
                      <br>
                      On 9/17/2013 4:54 PM, Paul Haley wrote:<br>
                    </div>
                  </div>
                </div>
                <div>
                  <div>
                    <blockquote type="cite">Hi, <br>
                      <br>
                      It seems that when I send FSC w/ TNT tags for some
                      but not all tokens I get ERG LEs that do not
                      satisfy the provided tags when using any of
                      NO_DEFAULT_LES, DEFAULT_LES_ALL, or
                      DEFAULT_LES_POSGAPS_LEXGAPS.  It does respect
                      these tags when there are no corresponding ERG
                      LEs, however, which is good. <br>
                      <br>
                      Is there a way that I can get PET w/ the ERG to
                      respect the TNT tags when provided but otherwise
                      use the ERG LEs? <br>
                      <br>
                      Thank you, <br>
                      Paul <br>
                      <br>
                    </blockquote>
                    <br>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>