packages feed

GenI-0.17.3: GenI.cabal

Name:           GenI
Version:        0.17.3
License:        GPL
License-file:   LICENSE
Author:         Carlos Areces and Eric Kow
Category:       Natural Language Processing
Synopsis:       A natural language generator (specifically, an FB-LTAG surface realiser)
Description:    A natural language generator (specifically, an FB-LTAG surface realiser)
Homepage:       http://projects.haskell.org/GenI
Maintainer:     geni-users@loria.fr
Build-Type:     Custom
Cabal-Version: >=1.2.3
data-files: AUTHORS, INSTALL, README, NEWS, GenI.cabal,
            examples/artificial/lexicon,
            examples/artificial/macros,
            examples/artificial/suite,
            examples/artificial/suite-bad,
            examples/chatnoir/lexicon,
            examples/chatnoir/macros,
            examples/chatnoir/suite,
            examples/demo/lexicon,
            examples/demo/macros,
            examples/demo/README,
            examples/demo/suite,
            examples/ej/lexicon,
            examples/ej/macros,
            examples/ej/suite,
            examples/nosemantics/lexicon,
            examples/nosemantics/macros,
            examples/nosemantics/README.txt,
            examples/promettre/lexicon,
            examples/promettre/macros,
            examples/promettre/morphinfo,
            examples/promettre/suite,
            examples/xmg-example/grammar/Arguments.mg,
            examples/xmg-example/grammar/demo-corpus-latin1.txt,
            examples/xmg-example/grammar/Entete.mg,
            examples/xmg-example/grammar/Evaluations.mg,
            examples/xmg-example/grammar/Misc.mg,
            examples/xmg-example/grammar/parse-corpus.sh,
            examples/xmg-example/grammar/Sem.mg,
            examples/xmg-example/grammar/VerbMorph.mg,
            examples/xmg-example/lexicon/demo-lemma-latin1.lex,
            examples/xmg-example/lexicon/demo-morph-latin1.mph,
            examples/xmg-example/Makefile,
            examples/xmg-example/README,
            examples/xmg-example/suite,
            etc/macstuff/macosx-app, etc/macstuff/Info.plist, etc/macstuff/wxmac.icns

extra-source-files: src/EnableGUI.hs
                    src/NLP/GenI/SysGeni.lhs
                    src/NLP/GenI/Test.hs
                    src/NLP/GenI/CkyEarley/CkyGui.lhs
                    src/NLP/GenI/Simple/SimpleGui.lhs, src/NLP/GenI/Gui.lhs
                    src/NLP/GenI/GraphvizShow.lhs, src/NLP/GenI/GuiHelper.lhs
                    src/NLP/GenI/Console.hs, src/NLP/GenI/Graphviz.hs
                    src/NLP/GenI/BuilderGui.lhs, src/NLP/GenI/unused/Predictors.lhs
                    src/NLP/GenI/GraphvizShowPolarity.lhs


Flag gui
  description: Build with a graphical user interface

Flag splitBase
  description: Choose the new smaller, split-up base package.

Library
  Build-depends: parsec >= 2 && < 3,
                 QuickCheck >= 1.2 && < 2,
                 HUnit > 1 && < 1.3,
                 mtl > 1.0 && < 1.2,
                 binary > 0.2 && < 0.5
  if flag(splitBase)
    Build-depends: base >= 3 && < 4, containers, process
  else
    Build-Depends: base <  3

  if !flag(gui)
    cpp-options:      -DDISABLE_GUI

  Exposed-Modules:
                NLP.GenI.Btypes,
                NLP.GenI.BtypesBinary,
                NLP.GenI.General,
                NLP.GenI.GeniParsers,
                NLP.GenI.GeniShow,
                NLP.GenI.Tags,
                NLP.GenI.Morphology,
                NLP.GenI.Polarity, NLP.GenI.Automaton,
                NLP.GenI.Statistics,
                NLP.GenI.Builder,
                NLP.GenI.Simple.SimpleBuilder, NLP.GenI.CkyEarley.CkyBuilder,
                NLP.GenI.Geni, NLP.GenI.Configuration

  Hs-Source-Dirs: src
  Extensions:     CPP, Rank2Types, OverlappingInstances, MultiParamTypeClasses, FlexibleContexts, TypeSynonymInstances,  FlexibleInstances, DeriveDataTypeable, ExistentialQuantification, LiberalTypeSynonyms
  Ghc-options:    -Wall -O2

Executable     geni
 Main-Is:        MainGeni.lhs
 Hs-Source-Dirs: src
 Extensions:     CPP, Rank2Types, OverlappingInstances, MultiParamTypeClasses, FlexibleContexts, TypeSynonymInstances,  FlexibleInstances, DeriveDataTypeable, ExistentialQuantification, LiberalTypeSynonyms

 Ghc-options:    -Wall
 Build-Depends: filepath > 1.0 && < 1.2,
                parsec >= 2.1 && < 3,
                QuickCheck >= 1.2 && < 2,
                HUnit >= 1 && < 1.3,
                mtl >= 1.0 && < 1.2,
                binary >= 0.2 && < 0.5
 if flag(splitBase)
    Build-Depends: base >= 3,
                   process > 1, directory > 1, containers >= 0.1
 else
    Build-Depends: base < 3

 if flag(gui)
    Build-Depends: wx >= 0.10.3 && < 0.12
 else
    cpp-options:      -DDISABLE_GUI