Exemple #1
0
def display_bounds_affect_word_similarities(include_word=None,
                                            upper_bound=None,
                                            lower_bound=None):
    result = controllers.display_affect_word_similarities(
        include_word=include_word,
        upper_bound=upper_bound,
        lower_bound=lower_bound)
    return jsonify(statistics=result)
Exemple #2
0
def display_truncated_affect_word_similarities(include_word=None,
                                               truncated=None):
    result = controllers.display_affect_word_similarities(
        include_word=include_word, truncated=truncated)
    return jsonify(statistics=result)