kurita-0: Find the alpha emoji

Safe HaskellNone
LanguageHaskell2010

Kurita.Prompt.Filter

Synopsis

Documentation

data BadEntry Source #

Constructors

BadEntry 
Instances
Eq BadEntry Source # 
Instance details

Defined in Kurita.Prompt.Filter

Ord BadEntry Source # 
Instance details

Defined in Kurita.Prompt.Filter

Show BadEntry Source # 
Instance details

Defined in Kurita.Prompt.Filter

unreasonableMatches :: (BadEntry -> Text -> Bool) -> Set BadEntry -> Text -> Set BadEntry Source #

Given a check to see if a value is bad, return all the matching bad entries for a single sentence

readWordSet :: String -> IO (Set BadEntry) Source #

Read the word set file (line separated phrases) with the double metaphone applied to each word