(self)
return self._n_unique_words
Number of *unique* words in document.

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

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