A novel method for unsupervised and supervised conversational message thread detection