Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Riddell committed Jan 19, 2014
1 parent 5bfabc1 commit 491805e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.rst
Expand Up @@ -14,7 +14,8 @@ The project relies heavily on the ``ipython`` Sphinx directive, which is
somewhat fragile.

Building the documentation may be accomplished by the following sequence of
commands. Python 3.3 or higher is required.
commands. The core requirements are: Python 3.3 or higher and Sphinx 1.2 or
higher.

#. Install required packages. The packages and version numbers are listed in
``requirements.txt``. In theory the command below should download and install
Expand Down
2 changes: 1 addition & 1 deletion source/index.rst
Expand Up @@ -43,4 +43,4 @@ These tutorials were written by `Allen Riddell <http://ariddell.org>`_.
<http://www.christof-schoech.de>`_.

Comments are welcome, as are reports of bugs and typos. Please use the
`project's issue tracker <https://github.com/ariddell/tatom/>`.
`project's issue tracker <https://github.com/ariddell/tatom/>`_.
4 changes: 2 additions & 2 deletions source/topic_model_mallet.rst
Expand Up @@ -111,7 +111,7 @@ should look something like this:
...

The first two columns of ``doc-topics.txt`` record the document number
(0-indexed) and the full path to the filename. The rest of the columns are best
(0-based indexing) and the full path to the filename. The rest of the columns are best
considered as (topic-number, topic-share) pairs. There are as many of these
pairs as there are topics. All columns are separated by tabs (there's even
a trailing tab at the end of the line). With the exception of the header (the
Expand Down Expand Up @@ -387,7 +387,7 @@ most frequent words in each text.
print("{}: {}".format(novels[i], top_topics_str))
.. note:: Recall that, like everything else in Python (and C, Java, and many
other languages), the topics are zero-indexed; the first topic is topic 0.
other languages), the topics use 0-based indexing; the first topic is topic 0.

Each topic in the topic model can be inspected. Each topic is a distribution
which captures in probabilistic terms, the words associated with the topic and
Expand Down

0 comments on commit 491805e

Please sign in to comment.