.. _sphx_glr_auto_examples_text:
.. _text_examples:
Working with text documents
----------------------------
Examples concerning the :mod:`sklearn.feature_extraction.text` module.
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /auto_examples/text/images/thumb/sphx_glr_plot_document_classification_20newsgroups_thumb.png
:alt:
:ref:`sphx_glr_auto_examples_text_plot_document_classification_20newsgroups.py`
.. raw:: html
Classification of text documents using sparse features
.. raw:: html
.. only:: html
.. image:: /auto_examples/text/images/thumb/sphx_glr_plot_document_clustering_thumb.png
:alt:
:ref:`sphx_glr_auto_examples_text_plot_document_clustering.py`
.. raw:: html
Clustering text documents using k-means
.. raw:: html
.. only:: html
.. image:: /auto_examples/text/images/thumb/sphx_glr_plot_hashing_vs_dict_vectorizer_thumb.png
:alt:
:ref:`sphx_glr_auto_examples_text_plot_hashing_vs_dict_vectorizer.py`
.. raw:: html
FeatureHasher and DictVectorizer Comparison
.. raw:: html
.. toctree::
:hidden:
/auto_examples/text/plot_document_classification_20newsgroups
/auto_examples/text/plot_document_clustering
/auto_examples/text/plot_hashing_vs_dict_vectorizer