Ejemplo n.º 1
0
def filter():
    block = Block()
    comment = request.args.get('comment')
    result = block.runBlockComment(comment)

    return str(result)
Ejemplo n.º 2
0
def properness_judge(new_comment):
    block = Block()
    result = block.runBlockComment(new_comment['comment'])
    print("적절성 : " + result)
    new_comment['property'] = result