Commit 6c9f6a78 authored by qlobbe's avatar qlobbe

first commit

parent 45f5e207
...@@ -124,6 +124,11 @@ fileToDocs parser path lst = do ...@@ -124,6 +124,11 @@ fileToDocs parser path lst = do
let patterns = buildPatterns lst let patterns = buildPatterns lst
pure $ map ( (\(y,t) -> Document y t) . filterTerms patterns) corpus pure $ map ( (\(y,t) -> Document y t) . filterTerms patterns) corpus
-- configToLabel :: Config -> Text
-- configToFile confif = label
-- where
-- label :: Text
-- label = outputPath config
-------------- --------------
-- | Main | -- -- | Main | --
......
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