Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!cs.utexas.edu!usc!ucsd!ucrmath!xcax12 From: xcax12@ucrmath.UCR.EDU (robert miller) Newsgroups: comp.ai Subject: pattern recognition Keywords: patterns, Lisp Message-ID: <2867@ucrmath.UCR.EDU> Date: 3 Dec 89 00:20:09 GMT Reply-To: xcax12@ucrmath.UCR.EDU () Organization: University of California, Riverside Lines: 18 I am having a problem with pattern recognition. I am trying to write a program that will recognize patterns that are inputted, outputting the next couple of logical repetitions. I'm hoping it will work something like this: (defun pattern_rec (x) ( <<< CODE HERE >>> )) pattern_rec (pattern_rec '(a b a c a d a e)) (a b a c a d a e a f) I have everything figured out except for the 'CODE HERE' part. :-) If anyone can give me a bit of help, just even a push in the right direction, I would be greatly appreciative. I will be monitoring this group, so either post or send mail. Thanks. Brought to you by Super Global Mega Corp .com