Skip to content

Commit

Permalink
Merge pull request #15 from timgates42/bugfix_typos
Browse files Browse the repository at this point in the history
docs: Fix a few typos
  • Loading branch information
stevepiercy committed Sep 18, 2022
2 parents 8c4cc7c + 8171e89 commit 75f6c28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/install.rst
Expand Up @@ -9,7 +9,7 @@ You will need `Python <http://python.org>`_ version 2.6 or better to run
primarily under Python 2.7, so that version is recommended. It does *not*
run under Python 3.X.

.. warning:: To succesfully install :mod:`hypatia`, you will need an
.. warning:: To successfully install :mod:`hypatia`, you will need an
environment capable of compiling Python C code. See the
documentation about installing, e.g. ``gcc`` and ``python-devel``
for your system. You will also need :term:`setuptools` installed
Expand Down
2 changes: 1 addition & 1 deletion hypatia/text/baseindex.py
Expand Up @@ -241,7 +241,7 @@ def _search_wids(self, wids):
# Subclass must override.
# It's not clear what it should do. It must return an upper bound on
# document scores for the query. It would be nice if a document score
# divided by the query's query_weight gave the proabability that a
# divided by the query's query_weight gave the probability that a
# document was relevant, but nobody knows how to do that. For
# CosineIndex, the ratio is the cosine of the angle between the document
# and query vectors. For OkapiIndex, the ratio is a (probably
Expand Down

0 comments on commit 75f6c28

Please sign in to comment.