Classifying Dialog Acts in Human-Human and Human-Machine Spoken Conversations