Pattern discovery in annotated dialogues using dynamic programming. (1st January 2012)