topic2vec new opt function