def main(): arg_util = ArgUtil() cmd_args = arg_util.parse_train_args() lda = SemiLDA(cmd_args, 'train') lda.train()
def main(): arg_util = ArgUtil() args = arg_util.parse_infer_args() lda = SemiLDA(args) lda.infer()
def main(): arg_util = ArgUtil() cmd_args = arg_util.parse_infer_args() lda = SemiLDA(cmd_args, 'infer') lda.infer()
def main(): arg_util = ArgUtil() args = arg_util.parse_train_args() lda = SemiLDA(args) lda.train()