diff --git a/pyLDAvis/sklearn.py b/pyLDAvis/sklearn.py index 593aac4e..3f096b65 100644 --- a/pyLDAvis/sklearn.py +++ b/pyLDAvis/sklearn.py @@ -17,7 +17,7 @@ def _get_term_freqs(dtm): def _get_vocab(vectorizer): - return vectorizer.get_feature_names() + return vectorizer.get_feature_names_out() def _row_norm(dists):