8
$\begingroup$

I'd like to be able to design a classifier that can distinguish between different types of conversations (not necessarily tell anything about mood, sincerity, or outcome, that's a bit too far fetched).

To know, for example, that among 50 samples of conversations, 10 involve both parties seeking information about a future event, 30 seem to have no goal, and 10 involve one party seeking information from another about a past event (really the algorithm would classify these as types I, II, or III without regard for the actual circumstances).

In other words, the order of the speakers would matter along with the content, perhaps helped along by seeding the algorithm with certain keywords.

Is there a system of classification that could perform this task with a fairly high degree of precision?

$\endgroup$
2
  • 1
    $\begingroup$ to clarify, is this text data, or audio data? $\endgroup$
    – tdc
    Commented Feb 17, 2012 at 14:38
  • 1
    $\begingroup$ @tdc Text data, sorry $\endgroup$
    – jonsca
    Commented Feb 17, 2012 at 18:48

1 Answer 1

5
$\begingroup$

This is how I would approach it. You actually need to check if a text is in class I or III (else it would be class II).

  • First, define a bag of words for classes I and III. You can manually do this
  • For each text, calculate the tf-idf for the words in these two classes and sum it (get two sums).
  • If some of these two sums is above some predefined threshold then it belongs in that class.

If you have a learning dataset big enough, you can easily find out what are the two bags of words, as well as the two thresholds for them.

$\endgroup$
1
  • $\begingroup$ I was just going to check out tf-idf from reading your question. Sounds promising. $\endgroup$
    – jonsca
    Commented Feb 19, 2012 at 2:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.