_record_phrase now uses a helper class to track the noise in a sentence to determine when the user has stopped speaking. The logic should be the same but the same but allow for easier testing and manipulation.