This is documentation for an old release of Scikit-learn (version 1.2). Try the latest stable release (version 1.6) or development (unstable) versions.
Working with text documents¶
Examples concerning the sklearn.feature_extraction.text
module.

Classification of text documents using sparse features
Classification of text documents using sparse features