added bs4 html parsing for labeling topics in rmatrix output