Bat country.. lol
MY GOD SOMEONES giving these creatures booze!
Ive done this in the past by storing the unique words
all in a table and giving them a unique id.
Then making a table of sentences with an indexed
integer field of the wordids and sequence they are in
the sentence...
WORDTABLE
--------------
wordid
wordtext
SENTENCES
-------------
sentence id
wordid
wordinsentencesequencenumber
WordTable:
1, See
2, Jane
3, Run
4, Jim
See Jane Run
SentenceTable:
1 , 1, 1
1, 2, 2
1, 3, 3
See Jim Run
SentenceTable:
2, 1, 1
2, 4, 2
2, 3, 3
.and so forth... takes a little bit of stored
procedure to get your sentences in and
out but was a faster search through huge
bits of data....... I actually went nuts and
broke it down into characters that made words
so i could do even faster 'LIKE' queries.
Then i did the 'characters that could be mistyped'
table... later i was gonna add a 'phenome' table
in case my creation ever 'came to life'

i went even deeper than that and stored parts
of speech data about them for switching out
adjectives and adverbs (attempt at some loebner
stuff )