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

Safe HaskellNone
LanguageHaskell2010

NLP.GenI.Console

Contents

Description

The console user interface including batch processing on entire test suites.

Synopsis

Documentation

loadNextSuite :: ProgStateRef -> CustomSem sem -> (FilePath, Maybe [Text]) -> IO [TestCase sem] Source #

Used in processing instructions files. Each instruction consists of a suite file and a list of test case names from that file

See http://projects.haskell.org/GenI/manual/command-line.html for how testsuite, testcase, and instructions are expected to interact

(Exported for use by regression testing code)

Internal

writeResults Source #

Arguments

:: ProgState 
-> RunAs 
-> CustomSem sem 
-> Text

raw text representation

-> sem 
-> GeniResults 
-> IO () 

getBatchDir :: HasFlags fs => fs -> IO FilePath Source #

Return the batch directory or a temporary directory if unset