Modeling community structure and topics in dynamic text networks