[doc] add info about language detection (comment)

parent f64be6b0
......@@ -97,6 +97,9 @@ priorEventsWith f d e = toEvents d [0..2] 10 es
------------------------------------------------------------------------
-- | Detecting language: take a sliding window of 3 letters, analyze
-- | frequency of the trigrams, from this we quite reliably detect
-- | what language is this.
detectLangDefault :: Text -> Maybe Lang
detectLangDefault = detectCat 99 eventLang
where
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment