def get_n_grams(text, n):
    """
    Computes the n-grams of a given text

    :rtype : list
    :param text: The text provided
    :param n: The n of n-grams
    :return: List of all the word's n-grams
    """

    # returning the list of n-grams
    return [text[i:i+n] for i in range(len(text) - n + 1)]