def find_ngrams(seq, n):
    """
    Computes the ngrams for a sequence.

    :type seq: a list of of strings
    :param seq: a sequence
    :return a list where ngrams are stored
    """
    return zip(*[seq[i:] for i in range(n)])