packages feed

nerf-0.5.3: nerf.cabal

name:               nerf
version:            0.5.3
synopsis:           Nerf, the named entity recognition tool based on linear-chain CRFs
description:
    The package provides the named entity recognition (NER) tool divided into a
    back-end library (see the "NLP.Nerf" module) and the front-end tool nerf.
    Using the library you can model and recognize named entities (NEs) which,
    for a particular sentence, take the form of forest with NE category values
    kept in internal nodes and sentence words kept in forest leaves.
    .
    To model NE forests we combine two different techniques. The IOB codec
    is used to translate to and fro between the original, forest representation
    of NEs and the sequence of atomic labels. In other words, it provides two
    isomorphic functions for encoding and decoding between both
    representations. Linear-chain conditional random fields, on the other hand,
    provide the framework for label modelling and tagging. 
license:            BSD3
license-file:       LICENSE
cabal-version:      >= 1.6
copyright:          Copyright (c) 2012 IPI PAN
author:             Jakub Waszczuk
maintainer:         waszczuk.kuba@gmail.com
stability:          experimental
category:           Natural Language Processing
homepage:           https://github.com/kawu/nerf
build-type:         Simple

library
    hs-source-dirs: src

    build-depends:
        base                >= 4        && < 5
      , containers
      , vector
      , text
      , binary
      , bytestring          >= 0.9      && < 0.11
      , text-binary         >= 0.1      && < 0.2
      , tagsoup             >= 0.13     && < 0.14
      , polysoup            >= 0.2      && < 0.3
      , crf-chain1          >= 0.2      && < 0.3
      , data-named          >= 0.5.1    && < 0.6
      , monad-ox            >= 0.2      && < 0.3
      , sgd                 >= 0.2.1    && < 0.3
      , polimorf            >= 0.6.0    && < 0.7
      , dawg                >= 0.8.1    && < 0.9
      , tokenize            == 0.1.3
      , mtl                 >= 2.1      && < 2.3
      , network             >= 2.3      && < 2.7
      , cmdargs             >= 0.10     && < 0.11
      , IntervalMap         >= 0.3      && < 0.4

    exposed-modules:
        NLP.Nerf
      , NLP.Nerf.Types
      , NLP.Nerf.Schema
      , NLP.Nerf.Tokenize
      , NLP.Nerf.Dict
      , NLP.Nerf.Dict.Base
      , NLP.Nerf.Dict.PNEG
      , NLP.Nerf.Dict.PNET
      , NLP.Nerf.Dict.NELexicon
      , NLP.Nerf.Dict.Prolexbase
      , NLP.Nerf.Compare
      , NLP.Nerf.Server
      , NLP.Nerf.XCES

    ghc-options: -Wall -O2

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

executable nerf
  hs-source-dirs: src, tools
  build-depends:
    filepath            >= 1.3      && < 1.4,
    directory           >= 1.1      && < 1.3,
    temporary           >= 1.1      && < 1.2
  main-is: nerf.hs
  ghc-options: -Wall -O2 -threaded -rtsopts