[Attempto] [ACE Lexicon]

mohammed nasri mohammed.nasri at gmail.com
Mon Dec 6 13:21:26 CET 2010


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.

2010/12/6 mohammed nasri <mohammed.nasri at gmail.com>

> Thanks for your help,
>
> 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.
>
> So I use :
>
> If a member adds a copy of a book to the library
>                  and no entry of the book exists in the catalog
>                  then the member creates an entry
>                         that contains the name of the author of the book
>                            and that contains the title of the book
>                            and that contains the area of the subject of the
> book
>                    and the member enters the id of the copy
>                    and the copy is available.
>
>
> In stead of :
>
> If a staff member adds a copy of a book to the library
>    and no catalog entry of the book exists
> then the staff member creates a catalog entry
>         that contains the author name of the book
>
>            and the title of the book
>            and the subject area of the book
>    and the staff member enters the id of the copy
>    and the copy is available.
>
>
> Thanks for your help.
>
> 2010/12/6 Norbert E. Fuchs <fuchs at ifi.uzh.ch>
>
> On 6 Dec 2010, at 11:35, mohammed nasri wrote:
>>
>> > 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 :
>> > If a copy of a book is checked out to a borrower
>> >    and a staff member returns the copy
>> > then the copy is available.
>> >
>> > When I try to parse this rule using APE, many words are not known,
>> "copy", "borrower ", "staff", "returns" and "available".
>> >
>> > Is there a ACE lexicon richer that the one I use (6.5) ?
>>
>>
>> On 6 Dec 2010, at 11:53, Jean-Marc Vanel wrote:
>>
>> > 2010/12/6 mohammed nasri <mohammed.nasri at gmail.com>
>> >> ....
>> >
>> > Mais oui !
>> > yes indeed!
>> >
>> > Just donwload the ACE lexicon, from the ATTEMPTO download page, and
>> > copy clex_lexicon.pl inside your ape/ directory, overriding the
>> > original (small) file.
>>
>> Mohammed
>>
>> 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.
>>
>> First, multi-words like "checked out" and "staff member" must by
>> hyphenated, i.e. written as "checked-out" and "staff-member".
>>
>> 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.
>>
>> Let me know if you have problems.
>>
>> Regards.
>>
>>   --- nef
>
>
>
>
> --
> Sincères salutations
> Mohammed NASRI
>



-- 
Sincères salutations
Mohammed NASRI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ifi.uzh.ch/pipermail/attempto/attachments/20101206/c1e96441/attachment.htm>


More information about the attempto mailing list