diff --git a/docs/install.rst b/docs/install.rst index 413cea6..484439c 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -9,7 +9,7 @@ You will need `Python `_ 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 diff --git a/hypatia/text/baseindex.py b/hypatia/text/baseindex.py index 0b65dc2..ba45b33 100644 --- a/hypatia/text/baseindex.py +++ b/hypatia/text/baseindex.py @@ -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