forked from piskvorky/gensim
-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.txt
62 lines (47 loc) · 1.97 KB
/
index.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
.. gensim documentation master file, created by
sphinx-quickstart on Tue Mar 16 19:45:41 2010.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Gensim -- Topic Modelling for Humans
=====================================================
.. raw:: html
:file: _static/tagcloud.html
.. raw:: html
<table class="links" style="font-size: 200%;">
<tr>
<td><a href='intro.html'>What is this?</a></td>
<td><a href='install.html'>Installation</a></td>
</tr>
<tr>
<td><a href='tutorial.html'>Get started!</a></td>
<td><a href='about.html'>About</a></td>
</tr>
</table>
Quick Reference Example
------------------------
>>> from gensim import corpora, models, similarities
>>>
>>> # Load corpus iterator from a Matrix Market file on disk.
>>> corpus = corpora.MmCorpus('/path/to/corpus.mm')
>>>
>>> # Initialize a transformation (Latent Semantic Indexing with 200 latent dimensions).
>>> lsi = models.LsiModel(corpus, num_topics=200)
>>>
>>> # Convert another corpus to the latent space and index it.
>>> index = similarities.MatrixSimilarity(lsi[another_corpus])
>>>
>>> # determine similarity of a query document against each document in the index
>>> sims = index[query]
.. admonition:: What's new?
* 22 Jul 2012: release 0.8.5 `out <https://github.com/piskvorky/gensim/blob/develop/CHANGELOG.txt>`_ : better Wikipedia parsing, faster similarity queries, maintenance fixes
* 30 Apr 2012: William Bert's `interview with me <http://williamjohnbert.com/2012/04/interview-with-radim-rehurek-creator-of-gensim/>`_
* 9 Mar 2012: release 0.8.4: new model `Hierarchical Dirichlet Process <http://radimrehurek.com/gensim/models/hdpmodel.html>`_ (full `CHANGELOG <https://github.com/piskvorky/gensim/blob/develop/CHANGELOG.txt>`_)
.. toctree::
:hidden:
:maxdepth: 1
intro
install
tutorial
distributed
wiki
apiref