feat(owothia): Add owothia
Add owothia, an irc bot that picks a random verb out of a random subset of messages and replies with a message of the form "<verb> me owo". it's incredibly messy, full of warnings, includes a *number* of harcoded things, but also is hilarious. Change-Id: I73cacd533bbbff9e753d1e542308da25247a7034 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1063 Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi>
This commit is contained in:
parent
7e0b2cd3f3
commit
2eb90cbca1
12 changed files with 290 additions and 0 deletions
19
users/glittershark/owothia/chatter.patch
Normal file
19
users/glittershark/owothia/chatter.patch
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
diff --git a/src/NLP/POS/LiteralTagger.hs b/src/NLP/POS/LiteralTagger.hs
|
||||
index 913bee8..3c2f71d 100644
|
||||
--- a/src/NLP/POS/LiteralTagger.hs
|
||||
+++ b/src/NLP/POS/LiteralTagger.hs
|
||||
@@ -1,4 +1,4 @@
|
||||
-{-# LANGUAGE OverloadedStrings #-}
|
||||
+{-# LANGUAGE OverloadedStrings, PackageImports #-}
|
||||
module NLP.POS.LiteralTagger
|
||||
( tag
|
||||
, tagSentence
|
||||
@@ -27,7 +27,7 @@ import NLP.FullStop (segment)
|
||||
import NLP.Types ( tagUNK, Sentence, TaggedSentence(..), applyTags
|
||||
, Tag, POSTagger(..), CaseSensitive(..), tokens, showTok)
|
||||
import Text.Regex.TDFA
|
||||
-import Text.Regex.TDFA.Text (compile)
|
||||
+import "regex-tdfa" Text.Regex.TDFA.Text (compile)
|
||||
|
||||
taggerID :: ByteString
|
||||
taggerID = pack "NLP.POS.LiteralTagger"
|
||||
Loading…
Add table
Add a link
Reference in a new issue