(self)
return self._n_sents
Number of sentences in document.

        See Also:
            :func:`textacy.text_stats.basics.n_sents()`
Number of sentences in document.
Number of sentences in document .
def n_sents(self) -> int:
        """
        Number of sentences in document.

        See Also:
            :func:`textacy.text_stats.basics.n_sents()`
        """
        if self._n_sents is None:
            self._n_sents = basics.n_sents(self.doc)
        return self._n_sents
def n_sents ( self ) -> int : if self . _n_sents is None : self . _n_sents = basics . n_sents ( self . doc ) return self . _n_sents