def chunker(arrays, chunk_size):
    """Split the arrays into equally sized chunks

    :param arrays: (N * L np.array) arrays of sentences
    :param chunk_size: (int) size of the chunks

    :return chunks: (list) list of the chunks, numpy arrays"""
    chunks = []

    # sentence length
    sent_len = len(arrays[0])

    # chunk the arrays over the sentence in chunk sizes
    for pos in range(0, sent_len, chunk_size):
        chunk = []

        for array in arrays:
            chunk.append(array[pos: pos+chunk_size])

        chunks.append(chunk)

    return chunks