Skip to content

Commit

Permalink
Merge pull request #2976 from RaRe-Technologies/fix_phrases
Browse files Browse the repository at this point in the history
[MRG] Refactor phrases
  • Loading branch information
piskvorky authored Oct 10, 2020
2 parents 2dcaaf8 + aaa79dd commit 0596dbd
Show file tree
Hide file tree
Showing 7 changed files with 653 additions and 928 deletions.
88 changes: 51 additions & 37 deletions docs/src/auto_examples/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ If you're thinking about contributing documentation, please see :ref:`sphx_glr_a

.. raw:: html

<div style='clear:both'></div>
<div class="sphx-glr-clear"></div>



Expand All @@ -33,9 +33,10 @@ Understanding this functionality is vital for using gensim effectively.

.. only:: html

.. figure:: /auto_examples/core/images/thumb/sphx_glr_run_core_concepts_thumb.png
.. figure:: /auto_examples/core/images/thumb/sphx_glr_run_core_concepts_thumb.png
:alt: Core Concepts

:ref:`sphx_glr_auto_examples_core_run_core_concepts.py`
:ref:`sphx_glr_auto_examples_core_run_core_concepts.py`

.. raw:: html

Expand All @@ -53,9 +54,10 @@ Understanding this functionality is vital for using gensim effectively.

.. only:: html

.. figure:: /auto_examples/core/images/thumb/sphx_glr_run_corpora_and_vector_spaces_thumb.png
.. figure:: /auto_examples/core/images/thumb/sphx_glr_run_corpora_and_vector_spaces_thumb.png
:alt: Corpora and Vector Spaces

:ref:`sphx_glr_auto_examples_core_run_corpora_and_vector_spaces.py`
:ref:`sphx_glr_auto_examples_core_run_corpora_and_vector_spaces.py`

.. raw:: html

Expand All @@ -73,9 +75,10 @@ Understanding this functionality is vital for using gensim effectively.

.. only:: html

.. figure:: /auto_examples/core/images/thumb/sphx_glr_run_topics_and_transformations_thumb.png
.. figure:: /auto_examples/core/images/thumb/sphx_glr_run_topics_and_transformations_thumb.png
:alt: Topics and Transformations

:ref:`sphx_glr_auto_examples_core_run_topics_and_transformations.py`
:ref:`sphx_glr_auto_examples_core_run_topics_and_transformations.py`

.. raw:: html

Expand All @@ -93,9 +96,10 @@ Understanding this functionality is vital for using gensim effectively.

.. only:: html

.. figure:: /auto_examples/core/images/thumb/sphx_glr_run_similarity_queries_thumb.png
.. figure:: /auto_examples/core/images/thumb/sphx_glr_run_similarity_queries_thumb.png
:alt: Similarity Queries

:ref:`sphx_glr_auto_examples_core_run_similarity_queries.py`
:ref:`sphx_glr_auto_examples_core_run_similarity_queries.py`

.. raw:: html

Expand All @@ -108,7 +112,7 @@ Understanding this functionality is vital for using gensim effectively.
/auto_examples/core/run_similarity_queries
.. raw:: html

<div style='clear:both'></div>
<div class="sphx-glr-clear"></div>



Expand All @@ -127,9 +131,10 @@ Learning-oriented lessons that introduce a particular gensim feature, e.g. a mod

.. only:: html

.. figure:: /auto_examples/tutorials/images/thumb/sphx_glr_run_word2vec_thumb.png
.. figure:: /auto_examples/tutorials/images/thumb/sphx_glr_run_word2vec_thumb.png
:alt: Word2Vec Model

:ref:`sphx_glr_auto_examples_tutorials_run_word2vec.py`
:ref:`sphx_glr_auto_examples_tutorials_run_word2vec.py`

.. raw:: html

Expand All @@ -147,9 +152,10 @@ Learning-oriented lessons that introduce a particular gensim feature, e.g. a mod

.. only:: html

.. figure:: /auto_examples/tutorials/images/thumb/sphx_glr_run_doc2vec_lee_thumb.png
.. figure:: /auto_examples/tutorials/images/thumb/sphx_glr_run_doc2vec_lee_thumb.png
:alt: Doc2Vec Model

:ref:`sphx_glr_auto_examples_tutorials_run_doc2vec_lee.py`
:ref:`sphx_glr_auto_examples_tutorials_run_doc2vec_lee.py`

.. raw:: html

Expand All @@ -167,9 +173,10 @@ Learning-oriented lessons that introduce a particular gensim feature, e.g. a mod

.. only:: html

.. figure:: /auto_examples/tutorials/images/thumb/sphx_glr_run_fasttext_thumb.png
.. figure:: /auto_examples/tutorials/images/thumb/sphx_glr_run_fasttext_thumb.png
:alt: FastText Model

:ref:`sphx_glr_auto_examples_tutorials_run_fasttext.py`
:ref:`sphx_glr_auto_examples_tutorials_run_fasttext.py`

.. raw:: html

Expand All @@ -187,9 +194,10 @@ Learning-oriented lessons that introduce a particular gensim feature, e.g. a mod

.. only:: html

.. figure:: /auto_examples/tutorials/images/thumb/sphx_glr_run_annoy_thumb.png
.. figure:: /auto_examples/tutorials/images/thumb/sphx_glr_run_annoy_thumb.png
:alt: Fast Similarity Queries with Annoy and Word2Vec

:ref:`sphx_glr_auto_examples_tutorials_run_annoy.py`
:ref:`sphx_glr_auto_examples_tutorials_run_annoy.py`

.. raw:: html

Expand All @@ -207,9 +215,10 @@ Learning-oriented lessons that introduce a particular gensim feature, e.g. a mod

.. only:: html

.. figure:: /auto_examples/tutorials/images/thumb/sphx_glr_run_lda_thumb.png
.. figure:: /auto_examples/tutorials/images/thumb/sphx_glr_run_lda_thumb.png
:alt: LDA Model

:ref:`sphx_glr_auto_examples_tutorials_run_lda.py`
:ref:`sphx_glr_auto_examples_tutorials_run_lda.py`

.. raw:: html

Expand All @@ -227,9 +236,10 @@ Learning-oriented lessons that introduce a particular gensim feature, e.g. a mod

.. only:: html

.. figure:: /auto_examples/tutorials/images/thumb/sphx_glr_run_wmd_thumb.png
.. figure:: /auto_examples/tutorials/images/thumb/sphx_glr_run_wmd_thumb.png
:alt: Word Mover's Distance

:ref:`sphx_glr_auto_examples_tutorials_run_wmd.py`
:ref:`sphx_glr_auto_examples_tutorials_run_wmd.py`

.. raw:: html

Expand All @@ -242,7 +252,7 @@ Learning-oriented lessons that introduce a particular gensim feature, e.g. a mod
/auto_examples/tutorials/run_wmd
.. raw:: html

<div style='clear:both'></div>
<div class="sphx-glr-clear"></div>



Expand All @@ -261,9 +271,10 @@ These **goal-oriented guides** demonstrate how to **solve a specific problem** u

.. only:: html

.. figure:: /auto_examples/howtos/images/thumb/sphx_glr_run_downloader_api_thumb.png
.. figure:: /auto_examples/howtos/images/thumb/sphx_glr_run_downloader_api_thumb.png
:alt: How to download pre-trained models and corpora

:ref:`sphx_glr_auto_examples_howtos_run_downloader_api.py`
:ref:`sphx_glr_auto_examples_howtos_run_downloader_api.py`

.. raw:: html

Expand All @@ -281,9 +292,10 @@ These **goal-oriented guides** demonstrate how to **solve a specific problem** u

.. only:: html

.. figure:: /auto_examples/howtos/images/thumb/sphx_glr_run_doc_thumb.png
.. figure:: /auto_examples/howtos/images/thumb/sphx_glr_run_doc_thumb.png
:alt: How to Author Gensim Documentation

:ref:`sphx_glr_auto_examples_howtos_run_doc.py`
:ref:`sphx_glr_auto_examples_howtos_run_doc.py`

.. raw:: html

Expand All @@ -301,9 +313,10 @@ These **goal-oriented guides** demonstrate how to **solve a specific problem** u

.. only:: html

.. figure:: /auto_examples/howtos/images/thumb/sphx_glr_run_doc2vec_imdb_thumb.png
.. figure:: /auto_examples/howtos/images/thumb/sphx_glr_run_doc2vec_imdb_thumb.png
:alt: How to reproduce the doc2vec 'Paragraph Vector' paper

:ref:`sphx_glr_auto_examples_howtos_run_doc2vec_imdb.py`
:ref:`sphx_glr_auto_examples_howtos_run_doc2vec_imdb.py`

.. raw:: html

Expand All @@ -321,9 +334,10 @@ These **goal-oriented guides** demonstrate how to **solve a specific problem** u

.. only:: html

.. figure:: /auto_examples/howtos/images/thumb/sphx_glr_run_compare_lda_thumb.png
.. figure:: /auto_examples/howtos/images/thumb/sphx_glr_run_compare_lda_thumb.png
:alt: How to Compare LDA Models

:ref:`sphx_glr_auto_examples_howtos_run_compare_lda.py`
:ref:`sphx_glr_auto_examples_howtos_run_compare_lda.py`

.. raw:: html

Expand All @@ -336,7 +350,7 @@ These **goal-oriented guides** demonstrate how to **solve a specific problem** u
/auto_examples/howtos/run_compare_lda
.. raw:: html

<div style='clear:both'></div>
<div class="sphx-glr-clear"></div>



Expand Down Expand Up @@ -379,7 +393,7 @@ Blog posts, tutorial videos, hackathons and other useful Gensim resources, from

.. raw:: html

<div style='clear:both'></div>
<div class="sphx-glr-clear"></div>



Expand All @@ -389,15 +403,15 @@ Blog posts, tutorial videos, hackathons and other useful Gensim resources, from
:class: sphx-glr-footer-gallery
.. container:: sphx-glr-download
.. container:: sphx-glr-download sphx-glr-download-python
:download:`Download all examples in Python source code: auto_examples_python.zip <//home/misha/git/gensim/docs/src/auto_examples/auto_examples_python.zip>`
:download:`Download all examples in Python source code: auto_examples_python.zip <//Volumes/work/workspace/gensim/trunk/docs/src/auto_examples/auto_examples_python.zip>`
.. container:: sphx-glr-download
.. container:: sphx-glr-download sphx-glr-download-jupyter
:download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip <//home/misha/git/gensim/docs/src/auto_examples/auto_examples_jupyter.zip>`
:download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip <//Volumes/work/workspace/gensim/trunk/docs/src/auto_examples/auto_examples_jupyter.zip>`
.. only:: html
Expand Down
Loading

0 comments on commit 0596dbd

Please sign in to comment.