<s> from chatterbot . adapters . io import IOAdapter <EOL> from chatterbot . utils . read_input import input_function <EOL> class TerminalAdapter ( IOAdapter ) : <EOL> """<STR_LIT>""" <EOL> def process_input ( self , * args , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> user_input = input_function ( ) <EOL> return user_input <EOL> def process_response ( self , statement ) : <EOL> print ( statement . text ) <EOL> return statement . text </s>
