()
return get_sent_spans
Create a `span_getter` that uses sentence boundary markers to extract
    the spans. This requires sentence boundaries to be set, and may result
    in somewhat uneven batches, depending on the sentence lengths. However,
    it does provide the transformer with more meaningful windows to attend over.
Create a `span_getter` that uses sentence boundary markers to extract
    the spans. This requires sentence boundaries to be set, and may result
    in somewhat uneven batches, depending on the sentence lengths. However,
    it does provide the transformer with more meaningful windows to attend over.
Create a span_getter that uses sentence boundary markers to extract the spans . This requires sentence boundaries to be set and may result in somewhat uneven batches depending on the sentence lengths . However it does provide the transformer with more meaningful windows to attend over .
def configure_get_sent_spans() -> Callable:
    """
    Create a `span_getter` that uses sentence boundary markers to extract
    the spans. This requires sentence boundaries to be set, and may result
    in somewhat uneven batches, depending on the sentence lengths. However,
    it does provide the transformer with more meaningful windows to attend over.
    """
    return get_sent_spans
def configure_get_sent_spans ( ) -> Callable : return get_sent_spans