(self)
return self._n_words
Number of words in document.

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

        See Also:
            :func:`textacy.text_stats.basics.n_words()`
        """
        if self._n_words is None:
            self._n_words = basics.n_words(self.words)
        return self._n_words
def n_words ( self ) -> int : if self . _n_words is None : self . _n_words = basics . n_words ( self . words ) return self . _n_words