diff options
author | Griffin Smith <grfn@gws.fyi> | 2020-07-17T14·17-0400 |
---|---|---|
committer | glittershark <grfn@gws.fyi> | 2020-07-17T20·39+0000 |
commit | 8138621b11b70e3a12c4d6f24e0b7ca1118e83db (patch) | |
tree | 995d7c98eb296554b09053523005380efb50ee65 /users/glittershark/owothia | |
parent | b32274120c6e7abd2a30c1654dd7368939ac85dd (diff) |
fix(owothia): Add " to stopword list r/1362
how *this* got classified as a verb I will never understand. Change-Id: I1ae0c5092b0f4371fb191e19f576dac89fb941ab Reviewed-on: https://cl.tvl.fyi/c/depot/+/1250 Tested-by: BuildkiteCI Reviewed-by: isomer <isomer@tvl.fyi>
Diffstat (limited to 'users/glittershark/owothia')
-rw-r--r-- | users/glittershark/owothia/src/Main.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/users/glittershark/owothia/src/Main.hs b/users/glittershark/owothia/src/Main.hs index 5e0f18a924c8..941c9adfc378 100644 --- a/users/glittershark/owothia/src/Main.hs +++ b/users/glittershark/owothia/src/Main.hs @@ -36,6 +36,7 @@ instance FromEnv Config where stopWord :: Text -> Bool stopWord "'s" = True +stopWord "\"" = True stopWord "is" = True stopWord "are" = True stopWord "am" = True @@ -103,7 +104,7 @@ main = do conf <- either fail pure =<< decodeEnv tagger <- defaultTagger state <- newIORef $ not . isJust $ (conf ^. nickservPassword) - let nick = fromMaybe "owothia" (conf ^. ircNick) + let nick = fromMaybe "owothia" (conf ^. ircNick) conn = plainConnection (conf ^. ircServer) (conf ^. ircPort) & realname .~ "Owothia Revströwö" |