def project_with_metadata(self, term_doc_mat, x_dim=0, y_dim=1):
        '''
        Returns a projection of the

        :param term_doc_mat: a TermDocMatrix
        :return: CategoryProjection
        '''
        return self._project_category_corpus(self._get_category_metadata_corpus_and_replace_terms(term_doc_mat),
                                             x_dim, y_dim)
Returns a projection of the

        :param term_doc_mat: a TermDocMatrix
        :return: CategoryProjection