discovering predicate name
From: joss b (jossblowing_at_yahoo.co.uk)
Date: 03/14/04
- Next message: Andrzej Lewandowski: "Re: removing the largest item from the list"
- Previous message: Andrzej Lewandowski: "Re: removing the largest item from the list"
- Next in thread: Martin Sondergaard: "Re: discovering predicate name"
- Reply: Martin Sondergaard: "Re: discovering predicate name"
- Reply: pegalius: "Re: discovering predicate name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 13 Mar 2004 16:57:28 -0800
Hi there,
Please excuse the dodgy terminology here, I'm pretty new to these
prolog and logic shores and just beginning :) I've been playing around
with gprolog to make a little and basic expert system. I've looked at
quite a few implementations already, but they shoot far ahead with
some natural(ish) language processing. I'm passing around predicates
in my rules, such like gender(male) and eyecolor(red). I'm wondering
if there's anyway I can check these predicates in order to taylor the
user output ? Say, rather than the system prompting,"is the
eyecolor(red)?", I would be able to discover the "eyecolor" bit and
change the language to - "what color are the eyes?".
hopefully someone would be good enough to shed some light for me?
thanks a million! -joss
- Next message: Andrzej Lewandowski: "Re: removing the largest item from the list"
- Previous message: Andrzej Lewandowski: "Re: removing the largest item from the list"
- Next in thread: Martin Sondergaard: "Re: discovering predicate name"
- Reply: Martin Sondergaard: "Re: discovering predicate name"
- Reply: pegalius: "Re: discovering predicate name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]