packages feed

NaturalLanguageAlphabets-0.2.1.0: NaturalLanguageAlphabets.cabal

cabal-version:  2.2
name:           NaturalLanguageAlphabets
version:        0.2.1.0
author:         Christian Hoener zu Siederdissen
maintainer:     choener@bioinf.uni-leipzig.de
homepage:       https://github.com/choener/NaturalLanguageAlphabets
bug-reports:    https://github.com/choener/NaturalLanguageAlphabets/issues
copyright:      Christian Hoener zu Siederdissen, 2014-2019
category:       Natural Language Processing
license:        BSD-3-Clause
license-file:   LICENSE
build-type:     Simple
stability:      experimental
tested-with:    GHC == 8.6.4
synopsis:       Simple scoring schemes for word alignments
description:
                Provides a simple scoring scheme for word alignments.



extra-source-files:
  README.md
  changelog.md
  scoring/unigramdefault.score
  scoring/unigramnancy.score
  tests/uni01.score
  tests/uni02.score



library
  build-depends: base                   >  4.7      &&  < 5.0
               , aeson                  >= 1.0
               , ansi-wl-pprint         >= 0.6
               , bytestring
               , containers
               , errors                 >= 2.0
               , file-embed             >= 0.0.6
               , hashable               >= 1.2.0.0
               , lens                   >= 4.0
               , mtl                    >= 2.0
               , parsers                >= 0.12
               , text                   >= 0.11
               , transformers           >= 0.4
               -- last version to use ansi-wl-pprint, will bump with next nixos, presumably
               , trifecta               == 2
               , unordered-containers   >= 0.2.3
               , utf8-string            >= 1.0
               --
               , InternedData           == 0.0.0.*

  exposed-modules:
    NLP.Scoring.Unigram
    NLP.Scoring.Unigram.Default
    NLP.Scoring.Unigram.Import

  default-language:
    Haskell2010

  default-extensions: BangPatterns
                    , DataKinds
                    , DeriveGeneric
                    , DeriveDataTypeable
                    , FlexibleInstances
                    , GeneralizedNewtypeDeriving
                    , MultiParamTypeClasses
                    , OverloadedStrings
                    , PolyKinds
                    , RecordWildCards
                    , StandaloneDeriving
                    , TemplateHaskell
                    , TypeFamilies
                    , UnicodeSyntax

  ghc-options:
    -O2 -funbox-strict-fields



benchmark BenchmarkNLA
  build-depends: base
               , containers
               , criterion                >= 1.0.2
               , deepseq
               , hashtables
               , mwc-random               >= 0.13
               , random                   >= 1.0
               , unordered-containers
               , vector
               --
               , InternedData
               , NaturalLanguageAlphabets
  hs-source-dirs:
    tests
  main-is:
    Benchmark.hs
  type:
    exitcode-stdio-1.0
  default-language:
    Haskell2010
  default-extensions: BangPatterns
                    , ScopedTypeVariables
  ghc-options:
    -O2
    -rtsopts
    -funbox-strict-fields
    -funfolding-use-threshold1000
    -funfolding-keeness-factor1000



test-suite properties
  type:
    exitcode-stdio-1.0
  main-is:
    properties.hs
  ghc-options:
    -threaded -rtsopts -with-rtsopts=-N
  hs-source-dirs:
    tests
  default-language:
    Haskell2010
  default-extensions: ScopedTypeVariables
                    , OverloadedStrings
                    , TemplateHaskell
  build-depends: base
               , aeson
               , binary
               , cereal
               , mtl
               , QuickCheck
               , tasty                  >= 0.11
               , tasty-hunit            >= 0.9
               , tasty-quickcheck       >= 0.8
               , tasty-th               >= 0.1
               , text
               , unordered-containers
               --
               , InternedData
               , NaturalLanguageAlphabets



source-repository head
  type: git
  location: git://github.com/choener/NaturalLanguageAlphabets