def METHOD_NAME(
    cls,
    sentence_splitter: Optional[Callable[[str], List[str]]] = None,
    window_size: int = DEFAULT_WINDOW_SIZE,
    window_metadata_key: str = DEFAULT_WINDOW_METADATA_KEY,
    original_text_metadata_key: str = DEFAULT_OG_TEXT_METADATA_KEY,
    include_metadata: bool = True,
    include_prev_next_rel: bool = True,
    callback_manager: Optional[CallbackManager] = None,
    metadata_extractor: Optional[MetadataExtractor] = None,
) -> "SentenceWindowNodeParser":
    callback_manager = callback_manager or CallbackManager([])
    sentence_splitter = sentence_splitter or split_by_sentence_tokenizer()
    return cls(
        sentence_splitter=sentence_splitter,
        window_size=window_size,
        window_metadata_key=window_metadata_key,
        original_text_metadata_key=original_text_metadata_key,
        include_metadata=include_metadata,
        include_prev_next_rel=include_prev_next_rel,
        callback_manager=callback_manager,
        metadata_extractor=metadata_extractor,
    )