From 8ccee82f262213401ab6eb9d3e30c166193887b6 Mon Sep 17 00:00:00 2001 From: Mark Joshwel Date: Tue, 5 Sep 2023 04:34:12 +0000 Subject: [PATCH] docs: fix english oops --- README.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 0901d28..50dcdc9 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ options: here are a few examples to get you quickly started using surplus in your own program: -1. let surplus do the heavy lifiting +1. let surplus do the heavy lifting ```python >>> from surplus import surplus, Behaviour @@ -98,7 +98,7 @@ here are a few examples to get you quickly started using surplus in your own pro 'Ngee Ann Polytechnic\n535 Clementi Road\nBukit Timah\n599489\nNorthwest, Singapore' ``` -2. handle queries seperately +2. handle queries separately ```python >>> import surplus @@ -123,7 +123,7 @@ here are a few examples to get you quickly started using surplus in your own pro notes: -- you can change what surplus does by passing in a custom [`Behaviour`](#class-behaviour) +- you can change what surplus does when passing in a custom [`Behaviour`](#class-behaviour) object - most surplus functions return a [`Result`](#class-result) object. while you can @@ -175,7 +175,7 @@ the command to create an empty commit is `git commit --allow-empty` ### reporting incorrect output > [!NOTE] -> this section is independent from the rest of the contributing section. +> this section is independent of the rest of the contributing section. different output from the iOS Shortcuts app is expected, however incorrect output is not. @@ -189,13 +189,13 @@ and do the following: function, which by default is OpenStreetMap Nominatim. (_don't know what the above means? then you are using the default reverser._) - also look at the [what counts as "incorrect"](#what-counts-as-incorrect) section + also look at the ['what counts as "incorrect"'](#what-counts-as-incorrect) section before moving on. 2. include the erroneous query. (_the Plus Code/local code/latlong coord/query string you passed into surplus_) -3. include output from the teminal with the +3. include output from the terminal with the [`--debug` flag](#command-line-usage) passed to the surplus CLI or with `debug=True` set in function calls. @@ -242,8 +242,9 @@ other examples that _should not_ be reported are: - name of place is incorrect/different - this may be due to incorrect data from the geolocator function, which is OpenStreetMap Nominatim by default. - in the case of Nominatim, it means that the data on OpenStreetMap is incorrect. + this may be due to incorrect data from the geocoder function, which is OpenStreetMap + Nominatim by default. in the case of Nominatim, it means that the data on OpenStreetMap + is incorrect. (_if so, then consider updating OpenStreetMap to help not just you, but other surplus and OpenStreetMap users!_) @@ -778,7 +779,7 @@ methods #### `Latlong.__str__()` -method that returns a comma-and-space-seperated string of `self.latitude` and +method that returns a comma-and-space-separated string of `self.latitude` and `self.longitude` - signature @@ -1078,12 +1079,12 @@ pluscodes 2022.1.3 Compute Plus Codes (Open Location Codes). - [geopy](https://pypi.org/project/geopy/): Python Geocoding Toolbox - MIT License + MIT Licence - [geographiclib](https://pypi.org/project/geographiclib/): The geodesic routines from GeographicLib - MIT License + MIT Licence - [pluscodes](https://pypi.org/project/pluscodes/): Compute Plus Codes (Open Location Codes)