<html><head></head><body bgcolor="#FFFFFF" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">Ananya</span><br><br>Recall that the lexicon file uses Prolog syntax. Some of your lexicon entries</div><div><span class="Apple-style-span" style="font-family: Times; "><pre style="word-wrap: break-word; white-space: pre-wrap; "></pre></span><blockquote type="cite"><span class="Apple-style-span" style="font-family: Times; "><pre style="word-wrap: break-word; white-space: pre-wrap; ">noun_sg(person, person, neutr).
noun_pl(persons, person, neutr).
noun_sg(Force, Force, neutr).
noun_sg(TestObjecttype2, TestObjecttype2, neutr).
noun_pl(tests2, TestObjecttype2, neutr).
noun_sg(test2, test2, neutr).
noun_sg(node, node, neutr).
noun_pl(nodes, node, neutr).
noun_sg(human being, human being, neutr).
noun_sg(place, place, neutr).
noun_pl(places, place, neutr).
noun_sg(location, location, neutr).</pre></span></blockquote><div>use capitalised arguments that Prolog considers as variables. However, lexical arguments must be constants. Thus – if you want to use capitalisation – enclose the capitalised entries in quotes.</div></div><div><br></div><div>As it happens, your example sentences  "A human being is a being." and "A test2 is a thing." do not use these erroneous lexical entries, and thus the sentences are parsed.</div><div><br></div><div>   --- nef</div><div><br></div><div><br></div><div><br>On 28 Mar 2012, at 13:06, Ananya Poddar <<a href="mailto:ananya0112@gmail.com">ananya0112@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><div class="gmail_quote">Hello there, <br>          We are currently working on a project where we have an auto-generated lexicon file that is being generated from the triple-store. The URL address for the file is:     <a href="http://gnowledge.org/%7Enagarjun/mylex.pl" target="_blank">http://gnowledge.org/~nagarjun/mylex.pl</a><br>

          <br>         This is for a testing purpose, and the nodes included are tests2, Force, as well as human being.<br>However, even though it is displaying the syntax at the ACE Parser engine, it is giving the following error.<br>

<br><table style="position: static; z-index: auto; "><tbody><tr><td>error</td><td>lexicon</td><td><br></td><td>Malformed entry.</td><td>User lexicon entry is malformed: noun_sg(_G6704,_G6704,neutr)</td></tr><tr><td>
error</td><td>lexicon</td><td><br></td><td>Malformed entry.</td><td>User lexicon entry is malformed: noun_sg(_G6861,_G6861,neutr)</td></tr><tr><td>error</td><td>lexicon</td><td><br></td><td>Malformed entry.</td>
<td>User lexicon entry is malformed: noun_pl(tests2,_G7031,neutr)</td></tr><tr><td>error</td><td>lexicon</td><td><br></td><td>Malformed file.</td><td>The user lexicon file is not a valid Prolog file.</td></tr>
</tbody></table><div><div>A human being is a being.</div></div><div><span>DRS</span><pre>No conditions
[]
</pre></div><div><span>Syntax</span><pre>                    specification
           _________|__________
           s                  |
   ________|________          |
   np              vp         |
___|____        ___|___       |
det    nbar     aux   np      |
|   ___|___     |   __|__     |
|   adj   nbar  |   det nbar  |
|   |     |     |   |   |     |
|   |     n     |   |   n     |
|   |     |     |   |   |     |
a   human being is  a   being .<br><br><br><br><br><br></pre><table><thead><tr><td>Type</td><td>Sentence</td><td>Problem</td><td>Suggestion</td></tr></thead><tbody><tr><td>error</td><td>
lexicon</td><td><br></td><td>Malformed entry.</td><td>User lexicon entry is malformed: noun_sg(_G4354,_G4354,neutr)</td></tr><tr><td>error</td><td>lexicon</td><td><br></td><td>Malformed entry.</td><td>User lexicon entry is malformed: noun_sg(_G4511,_G4511,neutr)</td>

</tr><tr><td>error</td><td>lexicon</td><td><br></td><td>Malformed entry.</td><td>User lexicon entry is malformed: noun_pl(tests2,_G4681,neutr)</td></tr><tr><td>error</td><td>lexicon</td><td><br>
</td><td>Malformed file.</td><td>The user lexicon file is not a valid Prolog file.</td></tr></tbody></table><div><div>A test2 is a thing.</div></div><div><span>DRS</span><pre>No conditions
[]
</pre></div><div><span>Syntax</span><pre>               specification
       ________|_________
       s                |
  _____|______          |
  np         vp         |
__|__     ___|___       |
det nbar  aux   np      |
|   |     |   __|__     |
|   n     |   det nbar  |
|   |     |   |   |     |
|   |     |   |   n     |
|   |     |   |   |     |
a   test2 is  a   thing .</pre></div></div></div></div></blockquote></body></html>