Handling Emotions In Human-computer Dialogues