Portability | archlinux |
---|---|
Stability | experimental |
Maintainer | Peter Harpending <pharpend2@gmail.com> |
Safe Haskell | None |
Documentation
I can never remember what I named things, so here are a bunch of type synonyms.
type MessagePart = TextSource
messageSplit :: Message -> PhraseMap -> [(Score, RestOf)]Source
Does a top-level split of a Message
. Returns a list of pairs,
with the first element being the score up to that point in the
message, as well as the rest of the message. That gives you
somewhat of an idea how it works, but that's not quite it
messageScore :: Message -> PhraseMap -> ScoreSource
Given a message, find its score.