from typing import Generator


def chunker(seq: str, size: int) -> Generator[str, None, None]:
    """
    Splits up large text into smaller pieces for processing
    """
    return (seq[pos : pos + size] for pos in range(0, len(seq), size))