BeamSeg: a Joint Model for Multi-Document Segmentation and Topic Identification