Though finite state machines can work for simple dialogue structures, more complex dialogues generated by them will come across as robotic.<p>For non-naive implementations you&#x27;ll have to learn about a linguistics discipline called pragmatics, which deals with conversational semantics and context:<p><a href="http:&#x2F;&#x2F;nlpers.blogspot.de&#x2F;2006&#x2F;04&#x2F;please-pass-pragmatics.html" rel="nofollow">http:&#x2F;&#x2F;nlpers.blogspot.de&#x2F;2006&#x2F;04&#x2F;please-pass-pragmatics.htm...</a>
<a href="http:&#x2F;&#x2F;www.amazon.com&#x2F;gp&#x2F;product&#x2F;0521294142&#x2F;sr=8-1&#x2F;qid=1145977367&#x2F;ref=pd_bbs_1&#x2F;104-2252564-4179952?_encoding=UTF8" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;gp&#x2F;product&#x2F;0521294142&#x2F;sr=8-1&#x2F;qid=11459...</a>