Skip to content
Snippets Groups Projects
teiwa.cabal 2.52 KiB
cabal-version:       >=1.10
-- Initial package description 'teiwa.cabal' generated by 'cabal init'.
-- For further documentation, see http://haskell.org/cabal/users-guide/

name:                teiwa
version:             0.1.0.0
synopsis:            TEI Word Annotator
description:
  The TEI word annotator applies morpho-syntactic annotations following the
  Lightweight Linguistic Annotation proposed by the TEI consortium
  (https://tei-c.org/release/doc/tei-p5-doc/en/html/AI.html#AILALW) back on the
  text that was annotated to achieve «in-place» annotation

homepage:            https://gitlab.liris.cnrs.fr/abrenon/teiwa
-- bug-reports:
license:             BSD3
license-file:        LICENSE
author:              Alice BRENON
maintainer:          alice.brenon@ens-lyon.fr
-- copyright:
category:            Text
build-type:          Simple
extra-source-files:  CHANGELOG.md

library
  exposed-modules:     Text.TEIWA
                     , Text.TEIWA.Annotation.Data
  other-modules:       Text.TEIWA.Annotation
                     , Text.TEIWA.Annotation.Context
                     , Text.TEIWA.Annotation.Editor
                     , Text.TEIWA.Config
                     , Text.TEIWA.Error
                     , Text.TEIWA.Source
                     , Text.TEIWA.Source.Common
                     , Text.TEIWA.Source.CoNLLX
                     , Text.TEIWA.Source.SSV
                     , Text.TEIWA.Source.WebAnno
  build-depends:       base >=4.12 && <4.15
                     , bytestring
                     , mtl
                     , parsec
                     , text
  hs-source-dirs:      lib
  default-language:    Haskell2010
  ghc-options:         -Wall

executable teiwa
  main-is:             Main.hs
  other-modules:       CLI
                     , Paths_teiwa
  -- other-extensions:
  build-depends:       base >=4.12 && <4.15
                     , filepath
                     , mtl
                     , optparse-applicative
                     , parsec
                     , teiwa
                     , text
  hs-source-dirs:      app
  default-language:    Haskell2010
  ghc-options:         -Wall

test-suite regression
  type:                detailed-0.9
  test-module:         Regression
  other-modules:       Mock.Annotation
                     , Sources
                     , Utils
  build-depends:       base
                     , Cabal
                     , mtl
                     , teiwa
                     , text
  hs-source-dirs:      test
  ghc-options:         -Wall
  default-language:    Haskell2010