From 37bab49f2861d08d98dadcb3604841b13d1eac70 Mon Sep 17 00:00:00 2001 From: Ben D'Angelo Date: Thu, 7 Dec 2023 19:53:14 -0500 Subject: [PATCH] Remove dash from words like eco-health --- lib/keyphrase.rb | 2 +- spec/keyphrase_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/keyphrase.rb b/lib/keyphrase.rb index 50a66df..11494f5 100644 --- a/lib/keyphrase.rb +++ b/lib/keyphrase.rb @@ -7,7 +7,7 @@ class Keyphrase autoload :Stoplist, "keyphrase/stoplist" CLEAN_REGEX = /([^a-zA-Z0-9\'\- \.]|(?\=\/\n\t\\"\\(\\)\u2019\u2013\|]|-(?!\w)|'(?=s)|(?