Skip to content

Commit

Permalink
fix docs, closes #1203
Browse files Browse the repository at this point in the history
  • Loading branch information
fgregg committed Aug 10, 2024
1 parent a75bb54 commit 3d5d3ad
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions docs/API-documentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ Library Documentation
# initialize from a defined set of fields
variables = [
{'field' : 'Site name', 'type': 'String'},
{'field' : 'Address', 'type': 'String'},
{'field' : 'Zip', 'type': 'String', 'has missing':True},
{'field' : 'Phone', 'type': 'String', 'has missing':True},
dedupe.variables.String("Site name"),
dedupe.variables.String("Address"),
dedupe.variables.String("Zip", has_missing=True),
dedupe.variables.String("Phone", has_missing=True),
]
deduper = dedupe.Dedupe(variables)
Expand Down Expand Up @@ -48,10 +48,10 @@ Library Documentation
# initialize from a defined set of fields
variables = [
{'field' : 'Site name', 'type': 'String'},
{'field' : 'Address', 'type': 'String'},
{'field' : 'Zip', 'type': 'String', 'has missing':True},
{'field' : 'Phone', 'type': 'String', 'has missing':True},
dedupe.variables.String("Site name"),
dedupe.variables.String("Address"),
dedupe.variables.String("Zip", has_missing=True),
dedupe.variables.String("Phone", has_missing=True),
]
deduper = dedupe.RecordLink(variables)
Expand Down Expand Up @@ -85,10 +85,10 @@ Library Documentation
# initialize from a defined set of fields
variables = [
{'field' : 'Site name', 'type': 'String'},
{'field' : 'Address', 'type': 'String'},
{'field' : 'Zip', 'type': 'String', 'has missing':True},
{'field' : 'Phone', 'type': 'String', 'has missing':True},
dedupe.variables.String("Site name"),
dedupe.variables.String("Address"),
dedupe.variables.String("Zip", has_missing=True),
dedupe.variables.String("Phone", has_missing=True),
]
matcher = dedupe.Gazetteer(variables)
Expand Down
4 changes: 2 additions & 2 deletions docs/Variable-definition.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Variable Definitions
Variables
---------

A variable definition describes the records that you want to match. It is sequence
of Variable objects. For example:-
A variable definition describes the records that you want to match. It
is a collection of Variable objects. For example:-

.. code:: python
Expand Down

0 comments on commit 3d5d3ad

Please sign in to comment.