Пример #1
0
def main():
    arg_util = ArgUtil()
    cmd_args = arg_util.parse_train_args()

    lda = SemiLDA(cmd_args, 'train')
    lda.train()
Пример #2
0
def main():
    arg_util = ArgUtil()
    args = arg_util.parse_infer_args()

    lda = SemiLDA(args)
    lda.infer()
Пример #3
0
def main():
    arg_util = ArgUtil()
    cmd_args = arg_util.parse_train_args()

    lda = SemiLDA(cmd_args, 'train')
    lda.train()  
Пример #4
0
def main():
    arg_util = ArgUtil()
    cmd_args = arg_util.parse_infer_args()

    lda = SemiLDA(cmd_args, 'infer')
    lda.infer()
Пример #5
0
def main():
    arg_util = ArgUtil()
    args = arg_util.parse_train_args()

    lda = SemiLDA(args)
    lda.train()  
Пример #6
0
def main():
    arg_util = ArgUtil()
    cmd_args = arg_util.parse_infer_args()

    lda = SemiLDA(cmd_args, 'infer')
    lda.infer()