packages feed

chatter 0.5.0.1 → 0.5.0.2

raw patch · 3 files changed

+27/−21 lines, 3 filesdep −ghc-primdep −regex-basedep −safedep ~QuickCheckdep ~mboxPVP ok

version bump matches the API change (PVP)

Dependencies removed: ghc-prim, regex-base, safe

Dependency ranges changed: QuickCheck, mbox

API changes (from Hackage documentation)

Files

changelog.md view
@@ -1,3 +1,10 @@+= 0.5.0.2 =+ - removed upper vesion bounds on many dependencies.++= 0.5.0.1 =++ - Updates for mobx-0.3's changes to use Lazy Text.+ = 0.5.0.0 =   - Added chunk, chunkText, and chunkStr functions to NLP.Chunk to
chatter.cabal view
@@ -1,5 +1,5 @@ name:                chatter-version:             0.5.0.1+version:             0.5.0.2 synopsis:            A library of simple NLP algorithms. description:         chatter is a collection of simple Natural Language                      Processing algorithms.@@ -70,30 +70,26 @@                      NLP.Extraction.Examples.ParsecExamples                      Data.DefaultMap -   Build-depends:    base >= 4.6 && <= 6,-                     text >= 0.11.3.0,-                     containers >= 0.5.0.0,-                     safe >= 0.3.3,+   Build-depends:    base           >= 4.6 && <= 6,+                     text           >= 0.11.3.0,+                     containers     >= 0.5.0.0,                      random-shuffle >= 0.0.4,-                     MonadRandom >= 0.1.2,-                     cereal >= 0.4.0.1,-                     fullstop >= 0.1.3.1,-                     split >= 0.1.2.3,-                     bytestring >= 0.10.0.0,+                     MonadRandom    >= 0.1.2,+                     cereal         >= 0.4.0.1,+                     fullstop       >= 0.1.3.1,+                     bytestring     >= 0.10.0.0,                      directory,-                     mbox,-                     zlib >= 0.5.4.1,-                     filepath >= 1.3.0.1,-                     ghc-prim,+                     mbox           >= 0.3,+                     zlib           >= 0.5.4.1,+                     filepath       >= 1.3.0.1,                      deepseq,-                     tokenize >= 0.2.0,-                     parsec >= 3.1.5,+                     tokenize       >= 0.2.0,+                     parsec         >= 3.1.5,                      transformers,-                     regex-base,-                     regex-tdfa >= 1.2.0,+                     regex-tdfa     >= 1.2.0,                      regex-tdfa-text,                      array,-                     QuickCheck < 2.6,+                     QuickCheck,                      quickcheck-instances  @@ -210,7 +206,7 @@                      test-framework-quickcheck2,                      test-framework-hunit,                      tokenize,-                     QuickCheck < 2.6,+                     QuickCheck,                      filepath,                      cereal,                      quickcheck-instances,
src/NLP/Extraction/Examples/ParsecExamples.hs view
@@ -29,14 +29,17 @@ import qualified NLP.Corpora.Brown as B  - -- | Find a clause in a larger collection of text. --+-- A clause is defined by the 'clause' extractor, and is a Noun Phrase+-- followed (immediately) by a Verb Phrase+-- -- findClause skips over leading tokens, if needed, to locate a -- clause. findClause :: Extractor B.Tag (ChunkOr B.Chunk B.Tag) findClause = followedBy anyToken clause +-- | Find a Noun Phrase followed by a Verb Phrase clause :: Extractor B.Tag (ChunkOr B.Chunk B.Tag) clause = do   np <- nounPhrase