packages feed

crf-chain1-constrained-0.5.0: crf-chain1-constrained.cabal

name:               crf-chain1-constrained
version:            0.5.0
synopsis:           First-order, constrained, linear-chain conditional random fields
description:
    The library provides efficient implementation of the first-order,
    linear-chain conditional random fields (CRFs) with position-wise
    constraints imposed over label values.
    .
    It is strongly related to the simpler
    <http://hackage.haskell.org/package/crf-chain1>
    library where constraints are not taken into account and all features
    which are not included in the CRF model are considered to have
    probability of 0.  Here, on the other hand, such features do not
    influence the overall probability of the (sentence, labels) pair
    - they are assigned the default potential of 0.
    .
    Efficient algorithm for determining marginal probabilities of individual
    labels is provided.
    The tagging is performed with respect to marginal probabilities.
--     The argmax algorithm (finding
--     the most probable label sequence satisfying the given constraints)
--     is less efficient, since we cannot use the sparse
--     forward-backward recursions optimization.
license:            BSD3
license-file:       LICENSE
cabal-version:      >= 1.6
copyright:          Copyright (c) 2012-2018 Jakub Waszczuk, IPI PAN
author:             Jakub Waszczuk
maintainer:         waszczuk.kuba@gmail.com
stability:          experimental
category:           Math
homepage:           https://github.com/kawu/crf-chain1-constrained
build-type:         Simple

library
    hs-source-dirs: src

    build-depends:
        base                >= 4        && < 5
      , containers          >= 0.4      && < 0.6
      , vector              >= 0.10     && < 0.13
      , array               >= 0.4      && < 0.6
      , random              >= 1.0      && < 1.2
      , parallel            >= 3.2      && < 3.3
      , logfloat            >= 0.12.1   && < 0.14
      , monad-codec         >= 0.2      && < 0.3
      , binary              >= 0.5      && < 0.9
      , vector-binary       >= 0.1      && < 0.2
      , data-lens           >= 2.10     && < 2.12
      , sgd                 >= 0.4.0    && < 0.5
      , vector-th-unbox     >= 0.2.1    && < 0.3
      , pedestrian-dag      >= 0.2      && < 0.3
      , data-memocombinators >= 0.5      && < 0.6

    exposed-modules:
        Data.CRF.Chain1.Constrained
      , Data.CRF.Chain1.Constrained.Core
      , Data.CRF.Chain1.Constrained.Dataset.Internal
      , Data.CRF.Chain1.Constrained.Dataset.External
      , Data.CRF.Chain1.Constrained.Dataset.Codec
      , Data.CRF.Chain1.Constrained.Feature
      , Data.CRF.Chain1.Constrained.Feature.Present
      , Data.CRF.Chain1.Constrained.Feature.Hidden
      , Data.CRF.Chain1.Constrained.Model
      , Data.CRF.Chain1.Constrained.Inference
      , Data.CRF.Chain1.Constrained.Train

      , Data.CRF.Chain1.Constrained.DAG
      -- , Data.CRF.Chain1.Constrained.DAG.Dataset.Internal
      , Data.CRF.Chain1.Constrained.DAG.Dataset.External
      , Data.CRF.Chain1.Constrained.DAG.Dataset.Codec
      , Data.CRF.Chain1.Constrained.DAG.Feature
      , Data.CRF.Chain1.Constrained.DAG.Feature.Present
      , Data.CRF.Chain1.Constrained.DAG.Feature.Hidden
      , Data.CRF.Chain1.Constrained.DAG.Inference
      , Data.CRF.Chain1.Constrained.DAG.Probs
      , Data.CRF.Chain1.Constrained.DAG.Train

    other-modules:
        Data.CRF.Chain1.Constrained.DP
      , Data.CRF.Chain1.Constrained.Util
      , Data.CRF.Chain1.Constrained.Intersect
        
    ghc-options: -Wall -O2

source-repository head
    type: git
    location: git://github.com/kawu/crf-chain1-constrained.git