From fba5f88fc7700a7ee3dfc79e6408d400e11c330b Mon Sep 17 00:00:00 2001 From: Simon <14183909+psidex@users.noreply.github.com> Date: Fri, 2 Jul 2021 01:32:44 +0100 Subject: [PATCH 1/3] Add correct spelling of scunthorpe, closes #13 --- falsepositives.go | 1 + 1 file changed, 1 insertion(+) diff --git a/falsepositives.go b/falsepositives.go index d29a300..d727cc8 100644 --- a/falsepositives.go +++ b/falsepositives.go @@ -47,6 +47,7 @@ var falsePositives = []string{ "sassy", "shoe", "scuntthorpe", + "scunthorpe", "shitake", "stitch", "sussex", From 05655091fa3521209d80827163ed5fdc9497c441 Mon Sep 17 00:00:00 2001 From: Simon <14183909+psidex@users.noreply.github.com> Date: Fri, 2 Jul 2021 13:17:42 +0100 Subject: [PATCH 2/3] Remove misspelling of Scunthorpe --- falsepositives.go | 1 - 1 file changed, 1 deletion(-) diff --git a/falsepositives.go b/falsepositives.go index d727cc8..da73c38 100644 --- a/falsepositives.go +++ b/falsepositives.go @@ -46,7 +46,6 @@ var falsePositives = []string{ "pushit", "sassy", "shoe", - "scuntthorpe", "scunthorpe", "shitake", "stitch", From 618c2bdfee910deb417f69b8a09459a2dca9fca5 Mon Sep 17 00:00:00 2001 From: Simon <14183909+psidex@users.noreply.github.com> Date: Fri, 2 Jul 2021 13:18:46 +0100 Subject: [PATCH 3/3] Fix spelling of Scunthorpe --- goaway_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goaway_test.go b/goaway_test.go index 0e16b3c..de3ba4f 100644 --- a/goaway_test.go +++ b/goaway_test.go @@ -108,7 +108,7 @@ func TestSentencesWithNoProfanities(t *testing.T) { func TestFalsePositives(t *testing.T) { sentences := []string{ - "I am from Scuntthorpe, north Lincolnshire", + "I am from Scunthorpe, north Lincolnshire", "He is an associate of mine", "Are you an assassin?", "But the table is on fire",