GenI: A natural language generator (specifically, an FB-LTAG surface realiser)

[ library, natural-language-processing, program ] [ Propose Tags ]
Versions [RSS] 0.16, 0.16.1, 0.17.3, 0.17.4, 0.20, 0.20.1, 0.20.2, 0.22,, 0.24, 0.24.1, 0.24.2, 0.24.3, 0.25.0,
Change log changelog
Dependencies base (>=4.9 && <4.11), binary (>=0.8 && <0.9), bytestring (>=0.10 && <0.11), containers (>=0.5 && <0.6), deepseq (>=1.4 && <1.5), directory (>=1.2 && <1.4), filepath (>=1.4 && <1.5), GenI, hslogger (>=1.2 && <1.3), json (>=0.9 && <0.10), mtl (>=2.2 && <2.3), ordered (>=0.1 && <0.2), parsec (>=3.1 && <3.2), process (>=1.4 && <1.7), syb (>=0.6 && <0.8), text (>=1.2 && <1.3), time (>=1.6 && <1.9), transformers (>=0.5 && <0.6), yaml-light (>=0.1 && <0.2) [details]
License LicenseRef-GPL
Author Carlos Areces and Eric Kow
Category Natural Language Processing
Home page
Source repo head: darcs get
Uploaded by EricKow at 2017-10-03T16:32:25Z
Reverse Dependencies 4 direct, 0 indirect [details]
Executables geni
Downloads 14143 total (33 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-10-03 [all 1 reports]

Readme for GenI-

[back to package description]

Build Status


  1. homepage and wiki
  2. manual
  3. API

Installing GenI

Command line interface and server

(tested on Linux, Windows, and MacOS X)

  1. Install the Haskell Platform. GenI 0.24 is known to build with either haskell-platform-2013.2.0.0 and haskell-platform-2012.2.0.0. Other versions may work too.

    If you want the graphical interface, and you are on a 64-bit Mac,

    take the 64-bit version of the Haskell Platform.

  2. Install the basic version first. If you just want the last stable release of GenI,

        cabal install GenI geniserver geni-util
    However, if you want to install the unstable version

    from source, change to the directory this README is in and

        cabal install . ./geniserver ./geni-util

Graphical interface

  1. Install wxWidgets. If you have a 64-bit Mac, install the Cocoa interface. If you use HomeBrew on Mac, brew install wxmac should do the trick.

    GenI 0.24 has been known to work with wxWidgets 2.9.4 on MacOS X, and

    is expected to work on wxWidgets 2.8.x or wxWidgets 2.9.x on Linux.

  2. Install wxHaskell (potentially painful)

        cabal install wx
    If you run into trouble here, you may need to use a development

    version of wxHaskell.

  3. Install the graphical interface (should be easy if 2 went well)

        cabal install ./geni-gui
  4. Try GenI (needs GenI examples files from this repository)

        cd examples/ej
        geni-gui -t trees -l lexicon -s suite


I accept Darcs patches and GitHub pull requests. The Darcs repository might be a bit ahead of the Git one, but I'll try to keep the mirror up to date.


Please follow published style guide. There is quite a bit of old code that does not follow this. Sorry. I'm slowly working on transitioning it.


  • Stable version has even minor number (eg. 0.22.x)
  • Development version has odd minor number (eg 0.23.yyyymmdd) Sometimes with a datestamp for major API changes in between
  • NEWS file will probably mention the next release (eg. 0.24)

Contact us!

Please let us know if you are using GenI; we'd like to hear about your experiences, both positive and negative.