<div dir="ltr">Sorry, I want to say : So the rule content of the DB problem does not matter much. not : So the rule content of the CB problem does not matter much.<br><br><div class="gmail_quote">2010/12/6 mohammed nasri <span dir="ltr"><<a href="mailto:mohammed.nasri@gmail.com">mohammed.nasri@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr">Thanks for your help, <br><br>I have met these problem, in fact, the library data base problem is just the example I want to apply to my system, I a workin on an ACE2PrologRule passing by CG formalism. So the rule content of the CB problem does not matter much.<br>
<br>So I use : <br><br>If a member adds a copy of a book to the library<br> and no entry of the book exists in the catalog<br> then the member creates an entry <br> that contains the name of the author of the book<br>
and that contains the title of the book<br> and that contains the area of the subject of the book<br> and the member enters the id of the copy<br> and the copy is available.<br>
<br><br>In stead of : <br><br><pre><font size="4">If a staff member adds a copy of a book to the library<br> and no catalog entry of the book exists<br>then the staff member creates a catalog entry<br> that contains the author name of the book<br>
and the title of the book<br> and the subject area of the book<br> and the staff member enters the id of the copy<br> and the copy is available.<br></font></pre><br>Thanks for your help.<br><br><div class="gmail_quote">
2010/12/6 Norbert E. Fuchs <span dir="ltr"><<a href="mailto:fuchs@ifi.uzh.ch" target="_blank">fuchs@ifi.uzh.ch</a>></span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>On 6 Dec 2010, at 11:35, mohammed nasri wrote:<br>
<br>
> I'm trying to map the library databas, the example cited by John Sowa in this article (and used by Rolf Schwitter in his dissertation) to a DRS structure using APE, this system is a set of rules. Here is an example of on them :<br>
> If a copy of a book is checked out to a borrower<br>
> and a staff member returns the copy<br>
> then the copy is available.<br>
><br>
</div><div>> When I try to parse this rule using APE, many words are not known, "copy", "borrower ", "staff", "returns" and "available".<br>
><br>
> Is there a ACE lexicon richer that the one I use (6.5) ?<br>
<br>
<br>
</div><div>On 6 Dec 2010, at 11:53, Jean-Marc Vanel wrote:<br>
<br>
> 2010/12/6 mohammed nasri <<a href="mailto:mohammed.nasri@gmail.com" target="_blank">mohammed.nasri@gmail.com</a>><br>
>> ....<br>
><br>
</div><div>> Mais oui !<br>
> yes indeed!<br>
><br>
> Just donwload the ACE lexicon, from the ATTEMPTO download page, and<br>
> copy <a href="http://clex_lexicon.pl" target="_blank">clex_lexicon.pl</a> inside your ape/ directory, overriding the<br>
> original (small) file.<br>
<br>
</div>Mohammed<br>
<br>
Even following Jean-Marc's excellent advice you will find that the full ACE lexicon does not contain all the words that you need for your example – and for the rest of the sentences derived from the library data base problem. In fact, there are two additional things that you have to do.<br>
<br>
First, multi-words like "checked out" and "staff member" must by hyphenated, i.e. written as "checked-out" and "staff-member".<br>
<br>
Second, words like "staff-member" do not occur in the ACE lexicon. You have three possibilities to make them known to the parser: add them to the lexicon or devise your own user lexicon (best solution), use prefixes like n:, or parse with word guessing. Check the Attempto documents how to do all of this.<br>
<br>
Let me know if you have problems.<br>
<br>
Regards.<br>
<font color="#888888"><br>
--- nef</font></blockquote></div></div></div><br><br clear="all"><br>-- <br>Sincères salutations<br>Mohammed NASRI<br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Sincères salutations<br>Mohammed NASRI<br>
</div>