Skip to content

Commit

Permalink
copyedit docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fgregg committed Jun 26, 2024
1 parent 5012867 commit 0cac941
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions dedupe/variables/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from .exists import ExistsType as Exists
from .interaction import InteractionType as Interaction
from .latlong import LatLongType as LatLong
from .price import PriceType as Price
from .set import SetType as Set
from .string import ShortStringType as ShortString
from .string import StringType as String
Expand Down
6 changes: 4 additions & 2 deletions docs/Variable-definition.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ fields will raise an error.
LatLong
^^^^^^^

A ``LatLong`` variables are compared using the `Haversine
``LatLong`` variables are compared using the `Haversine
Formula <http://en.wikipedia.org/wiki/Haversine_formula>`__.

A ``LatLong`` variable field must consist of tuples of floats
Expand All @@ -140,7 +140,7 @@ corresponding to a latitude and a longitude.
Set
^^^

A ``Set`` variables are for comparing lists of elements, like keywords or
``Set`` variables are for comparing lists of elements, like keywords or
client names. ``Set`` variables are very similar to :ref:`text-types-label`. They
use the same comparison function and you can also let dedupe learn which
terms are common or rare by providing a corpus. Within a record, a ``Set``
Expand Down Expand Up @@ -334,6 +334,8 @@ For example:-
namevariable.WesternName("field")
To install:

.. code:: console
pip install dedupe-variable-name
Expand Down

0 comments on commit 0cac941

Please sign in to comment.