Learning dialogue structures from a corpus | Synapse