#NEWLINE# def end_recognition( self ) : #NEWLINE# #INDENT# self . send_request_to_worker ( b'' , 'ONLINE' , frame_rate = 44100 , has_next = False ) #NEWLINE# response = self . read_response_from_worker ( ) #NEWLINE# self . worker_socket . disconnect ( self . worker_address ) #NEWLINE# return self . format_response ( response . results , self . format_online_recognition_response )