
    g                     x    d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 ddlmZ edfed	fed
fedfedfgZd Zy)z
A class for simple chatbots.  These perform simple pattern matching on sentences
typed by users, and respond with automatically generated sentences.

These chatbots may not work using the windows command line or the
windows IDLE GUI.
    )
eliza_chat)
iesha_chat)	rude_chat)suntsu_chat)Chat)zen_chatzEliza (psycho-babble)zIesha (teen anime junky)zRude (abusive bot)zSuntsu (Chinese sayings)zZen (gems of wisdom)c                  x   t        d       t        t              } t        |       D ]  }t        d|dz   t        |   d   fz         ! 	 t	        d|  d      j                         }|j                         rt        |      dz
  t        |       v rnt        d       St        t        |      dz
     d   } |        y )Nz(Which chatbot would you like to talk to?z  %d: %s   z
Enter a number in the range 1-z: z   Error: bad chatbot numberr   )printlenbotsrangeinputstripisdigitint)botcountichoicechatbots       G/var/www/openai/venv/lib/python3.12/site-packages/nltk/chat/__init__.pychatbotsr   #   s    	
454yH8_jAE471:../ 
9(2FGMMO>>VqU8_ D01  3v;?#A&GI    N)__doc__nltk.chat.elizar   nltk.chat.ieshar   nltk.chat.ruder   nltk.chat.suntsur   nltk.chat.utilr   nltk.chat.zenr   r   r    r   r   <module>r"      sY    ' & $ (  " ()+,$%,-%&r   