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

Safe HaskellNone

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

writeResultsSource

Arguments

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

raw text representation

-> sem 
-> GeniResults 
-> IO () 

getBatchDir :: HasFlags fs => fs -> IO FilePathSource

Return the batch directory or a temporary directory if unset