packages feed

partage-0.1.0.1: partage.cabal

name:               partage
version:            0.1.0.1
synopsis:           Parsing factorized 
description:
    The library implements an Earley-style, bottom-up parser for tree adjoining
    grammars (TAGs) with special focus on structure (and, hence, computation) sharing.
    .
    Two particular flavours of structure sharing are currently implemented:
    .
    * Subtrees common to different elementary trees are shared amongst them.
      The input TAG, which can be seen as a set of elementary (initial and auxiliary)
      grammar trees, is in fact transformed into an equivalent DAG.
    .
    * Flat production grammar rules representing the individual parts of the DAG
      are then compressed in the form of a minimal FSA. Other forms of
      compression are also provided by the library (e.g. prefix tree).
license:            BSD3
license-file:       LICENSE
cabal-version:      >= 1.10
copyright:          Copyright (c) 2015-2016 Jakub Waszczuk
author:             Jakub Waszczuk
maintainer:         waszczuk.kuba@gmail.com
stability:          experimental
category:           Natural Language Processing
homepage:           https://github.com/kawu/partage
build-type:         Simple

library
    default-language:
        Haskell2010
    hs-source-dirs: src
    build-depends:
        base                >= 4        && < 5
      , containers          >= 0.5      && < 0.6
      , mtl                 >= 2.1      && < 2.3
      , transformers        >= 0.3      && < 0.5
      , pipes               >= 4.1      && < 4.2
      , PSQueue             >= 1.1      && < 1.2
      , data-partition      >= 0.3      && < 0.4
      , mmorph              >= 1.0      && < 1.1
      , dawg-ord            >= 0.5      && < 0.6
      , data-lens-light     >= 0.1      && < 0.2
      , random              >= 1.1      && < 1.2
      , vector              >= 0.10     && < 0.12

    exposed-modules:
        NLP.Partage.Tree
      , NLP.Partage.Tree.Other
      , NLP.Partage.FactGram
      , NLP.Partage.Gen
      , NLP.Partage.Auto
      , NLP.Partage.Auto.List
      , NLP.Partage.Auto.Trie
      , NLP.Partage.Auto.DAWG
      , NLP.Partage.Auto.Set
      , NLP.Partage.Earley

    other-modules:
        NLP.Partage.SOrd
      , NLP.Partage.FactGram.Internal
      , NLP.Partage.Earley.AutoAP
      , NLP.Partage.SubtreeSharing

    ghc-options: -Wall
    -- cpp-options: -DDebug


source-repository head
    type: git
    location: https://github.com/kawu/partage.git


test-suite test
    default-language:
        Haskell2010
    type:
        exitcode-stdio-1.0
    hs-source-dirs:
        tests
    main-is:
        test.hs
    other-modules:
        TestSet
      , Parser
    build-depends:
        partage
      , base                    >= 4        && < 5
      , containers              >= 0.5      && < 0.6
      , tasty                   >= 0.10
      , tasty-hunit             >= 0.9
      , HUnit                   >= 1.2