@app.route((route_path + '/sentence_score'), methods=['POST', 'GET'])
def sentence_score():
    sentence = request.args.get('sentence', '')
    result = self.sentence_score(sentence)
    return flask.jsonify({'state': 'OK', 'result': {'score': result}})
@app.route((route_path + '/sentence_score'), methods=['POST', 'GET'])
def sentence_score():
    sentence = request.args.get('sentence', )
    result = self.sentence_score(sentence)
    return flask.jsonify({'state': 'OK', 'result': {'score': result}})