def generate_bs_pointers(bs_lengths, bs_size):
    """
    It generates the pointers (i.e. time indexes) of each modified sax word into the original time-series data

    :param bs_lengths: list of modified sax words
    :type bs_lengths: list of str
    :param bs_size: window size (in the original time-series) of a single sax word
    :type bs_size: int
    :return: list of pointers to the original time-series
    :rtype: list of list of int
    """
    bs_pointers = []
    start_pointer = 0
    for bs_len_item in bs_lengths:
        end_pointer = start_pointer + bs_size + bs_len_item - 1
        pointer_list = list(range(start_pointer, end_pointer))
        bs_pointers.append(pointer_list)
        start_pointer = start_pointer + bs_len_item
    return bs_pointers