training lda, class for captioncollection