packages feed

concraft-pl 2.0.1 → 2.0.2

raw patch · 3 files changed

+10/−10 lines, 3 files

Files

changelog view
@@ -1,12 +1,12 @@ -*-change-log-*-  2.0.1   Jul 2018-        * External configuration of disambiguation tiers+	* External configuration of disambiguation tiers  2.0.0   Jul 2018-        * Support Morfeusz DAGs-        * Use the Morfeusz format-        * Drop dependency on Maca+	* Support for Morfeusz DAGs+	* Use the Morfeusz format+	* Drop dependency on Maca  0.7.5	Aug 2016 	* Start using `stack` to avoid dependency problems
concraft-pl.cabal view
@@ -1,5 +1,5 @@ name:               concraft-pl-version:            2.0.1+version:            2.0.2 synopsis:           Morphological tagger for Polish description:     A morphological tagger for Polish based on the concraft library.
src/NLP/Concraft/Polish/Format/Plain.hs view
@@ -1,10 +1,9 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} --- | Simple format for morphosyntax representation which--- assumes that all tags have a textual representation--- with no spaces within and that one of the tags indicates--- unknown words.+-- | Simple format for morphosyntax representation which assumes that all tags+-- have a textual representation with no spaces within and that one of the tags+-- indicates unknown words.  module NLP.Concraft.Polish.Format.Plain (@@ -20,6 +19,7 @@ , showSent ) where +import           Prelude hiding ((<>)) import           Data.Monoid (Monoid, mappend, mconcat) import           Data.Maybe (catMaybes) import           Data.List (groupBy)@@ -101,7 +101,7 @@ parseSpace :: L.Text -> Space parseSpace "none"    = None parseSpace "space"   = Space-parseSpace "spaces"  = Space	-- Multiple spaces+parseSpace "spaces"  = Space    -- Multiple spaces parseSpace "newline" = NewLine parseSpace "newlines" = NewLine -- Multiple newlines parseSpace xs        = error ("parseSpace: " ++ L.unpack xs)