':key: ä¿å­æš¡åçžå³åæ°æ°æ®,åæ¬: topics_num, M, V, K, words_count, alpha, beta'

def save_parameter(self, file_name):

    with open(file_name, 'w', encoding='utf-8') as f_param:
        for item in ['topics_num', 'M', 'V', 'K', 'words_count']:
            f_param.write(('%s DCTB %s\n' % (item, str(self.__dict__[item]))))
        f_param.write(('alpha DCTB %s\n' % ','.join([str(item) for item in self.alpha])))
        f_param.write(('beta DCTB %s\n' % ','.join([str(item) for item in self.beta])))
    return
