Hey
I had made a chatbox, where if it don't know to the question, it just spit random sentence that don't make sense, but i don't how to make it read the question and se if it has a answer for it, and if it don't have a answer it should spit the one of the random sentence out...
How do i make it do that.??
TurkAlush
0
Newbie Poster
Recommended Answers
Jump to PostCan you be so kind to post here the chat part you have written so far where you want to include the search function?
Jump to PostLets separate the problem in parts:
1) Find the returned phrase in a list of known ones
2) Return a random string from svin if the searched phrase does not existsLets assume that we already have a list of known prhases like
static string[] knownPhrases …
All 5 Replies
lolafuertes
145
Master Poster
TurkAlush
0
Newbie Poster
lolafuertes
145
Master Poster
TurkAlush
0
Newbie Poster
lolafuertes
145
Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.