[MUD-Dev] Re: Prepositions and parsing

clawrenc at cup.hp.com clawrenc at cup.hp.com
Thu May 15 10:19:17 New Zealand Standard Time 1997


In <199705140835.KAA21091 at regoc.srce.hr>, on 05/14/97 
   at 08:26 PM, silovic at srce.hr (Miroslav Silovic) said:
> [coder at ibm.net]

>> And here comes the really nasty context-driven ambiguities:
>> 
>>   put the paper under the book on the table.
>> 
>> Does this mean to take the paper that is currently under the book and
>> to put it on the table, or does it mean to take the paper and place it
>> under the book which is located on the table?
>> 
>> I suspect that I'll have to arrive at a general handler for such which
>> attempts to resolve both conditions and then picks the one which is
>> actually support (ie there is no book on the table so it must be the
>> other parse, or there is no paper under a book so it must be the other
>> parse, or it is unresolvable).

>Actually if you've ever seen Prolog program, you'd know that this is
>trivial to implement in Prolog. 

Somewhere I even have a copy of Turbo-Prolog...

..Comment on functional languages and backtracking ellided...

Will research.  I don't have a background with functional languages.


>This
>is of course implementation picture, on the language level, it's
>*VERY* easy to use - you simply see it as functions being constructed
>on the spot and passed around. Good Scheme compilers execute this
>only a little slower than optimized C would execute).

<sprong!>

(mental light flickers on)

Ahh.  Yes.  Hurm.  Cute.  Hurm...

--
J C Lawrence                           Internet: claw at null.net
(Contractor)                           Internet: coder at ibm.net
---------------(*)               Internet: clawrenc at cup.hp.com
...Honorary Member Clan McFUD -- Teamer's Avenging Monolith...




More information about the MUD-Dev mailing list