def __init__(
        self,
        lang: str = "en",
        nlp_max_len: int = 4000000,
        num_parallel: int = 4,
        chunk_size: int = 12,
        chunk_overlap: int = 4,
        **kwargs,
    ):
        """
        Args:
            lang (str): "en" for English, "zh" for Chinese.
            nlp_max_len (int):
            num_workers (int):
            chunk_size (int): number of sentences per chunk.
            chunk_over_lap (int): number of sentence overlap between two continuous chunks.
        """
        super().__init__(chunk_size, chunk_overlap)
        self._stride: int = self._chunk_size - self._chunk_overlap
        self._num_parallel: int = num_parallel

        self._load_model(lang, nlp_max_len)

        return

        Args:
            lang (str): "en" for English, "zh" for Chinese.
            nlp_max_len (int):
            num_workers (int):
            chunk_size (int): number of sentences per chunk.
            chunk_over_lap (int): number of sentence overlap between two continuous chunks.
        
pikerag/document_transformers/splitter/recursive_sentence_splitter.py