Writer turned programmer seeks string processing advice

2009-05-05 Thread dhs827
Hi, my name is Dirk Scheuring, I'm a writer based in Cologne, Germany, and I want to write something about AI that can only be expressed by using AI technology and technique. You could say that what I aim for is a chatbot, but it's a bot that works quiet different from the norm; at it's core, the

Re: Writer turned programmer seeks string processing advice

2009-05-06 Thread dhs827
port > continuations natively, although Clojure code can still be written in > a continuation-passing style. > > And don't forget Java!  There are implementations of AIML (and > doubtless other pattern-matching libraries) in Java that you could use > from Clojure. > &g

Re: Writer turned programmer seeks string processing advice

2009-05-06 Thread dhs827
Luke VanderHart wrote: > It actually sounds very like the classic exercise of building a logic- > based language similar to Prolog in Scheme or Lisp, only with an AI/ > pattern matching functionality instead of a logic resolution engine. Exactly - I'm doing much of the logic directly in the patt

Re: Writer turned programmer seeks string processing advice

2009-05-06 Thread dhs827
Adrian Cuthbertson wrote: > There are two excellent clojure > tutorials on monads which would be good starting points; Thanks, I bet that'll be useful, too. I already have a rough understanding of what monads do, so having them presented in the context of Clojure may help me. Dirk --~--~---

Re: Writer turned programmer seeks string processing advice

2009-05-06 Thread dhs827
Daniel Lyons wrote: > I hope I misunderstood the phrase "explicit non-matches", because I   > believe that problem is intractable, or at least leads to   > unpleasantries like negation of the expression "foo" being "[^f]|[^f] > [^o]|[^f][^o][^o]|f[^o]|fo[^o]|f$|fo$|^$", which I'm not even sure  

Re: Writer turned programmer seeks string processing advice

2009-05-07 Thread dhs827
. Implement what I prototyped in AIML (context, objects, processes) in Clojure Does this sound right? Dirk Luke VanderHart schrieb: > On May 6, 4:39 am, dhs827 wrote: > >  I realize now that there is no quick fix, and I'll have to learn a > > lot to do this properly. But are

Re: Writer turned programmer seeks string processing advice

2009-05-07 Thread dhs827
Laurent PETIT wrote: > For 2., you could even consider, rather than manually doing the > conversion, write (in clojure of course, with the help of the xml > parsing tools already available) a AIML to clojure-AIML converter :-) Most of the work will be about figuring out how to map the functional

AIML pattern matcher design

2009-05-08 Thread dhs827
I'm stealing knowledge left and right (just ask me :-) to design me an AIML pattern matcher. I've compiled a draft list of objects and behaviors, which I would like to see reviewed for plausibility: startup - opens configuration file (e.g. startup.xml) - passes configuration file

Re: AIML pattern matcher design

2009-05-09 Thread dhs827
I'm completely engulfed in all this material, but I wanted to come back and say that I'm stunned by the enthusiasm with which you share your knowledge here. Many thanks, again. Dirk Parth Malwankar schrieb: > On Fri, 08 May 2009 22:20:13 +0530, dhs827 wrote: > > > >