def get_term_doc_mat(self):
		'''
		:return: term freq matrix or metadata freq matrix
		'''
		if self._use_non_text_features:
			return self._corpus._mX
		else:
			return self._corpus._X

		:return: term freq matrix or metadata freq matrix
		
scattertext/termranking/TermRanker.py