|
|
|
|
|
|
Synopsis |
|
|
|
|
main interface
|
|
|
Constructors | ST | | pa :: Params | the current configuration being processed
| gr :: Macros | | le :: Lexicon | | morphinf :: MorphFn | | ts :: SemInput | | tcase :: String | names of test case to run
| tsuite :: [TestCase] | name, original string (for gui), sem
| ranking :: OtRanking | OT constraints (optional)
| traces :: [String] | simplified traces (optional)
| warnings :: [String] | any warnings accumulated during realisation
(most recent first)
|
|
|
|
|
|
|
|
The program state when you start GenI for the very first time
|
|
|
initGeni performs lexical selection and strips the input semantics of
any morpohological literals
|
|
|
Returns a list of sentences, a set of Statistics, and the generator state.
The generator state is mostly useful for debugging via the graphical interface.
Note that we assumes that you have already loaded in your grammar and
parsed your input semantics.
|
|
|
|
|
Constructors | | Instances | |
|
|
|
Constructors | CompleteResult | | PartialResult | |
| Instances | |
|
|
helpers
|
|
|
No morphology! Pretend the lemma string is a sentence
|
|
|
|
|
Show the sentences produced by the generator, in a relatively compact form
|
|
|
Convert a list of items into a list of tuples (a,b) where
a is an item in the list and b is the number of times a
in occurs in the list.
|
|
|
getTraces is most likely useful for grammars produced by a
metagrammar system. Given a tree name, we retrieve the `trace'
information from the grammar for all trees that have this name. We
assume the tree name was constructed by GenI; see the source code for
details.
|
|
|
Only used for instances of GenI where the grammar is compiled
directly into GenI.
|
|
|
|
|
|
|
The macros are stored as a hashing function in the monad.
|
|
|
Stores the results in the tcase and tsuite fields
|
|
|
Updates program state the same way as loadTestSuite
|
|
|
|
|
|
|
|
combine macros lex creates the Tags repository combining lexical
entries and un-anchored trees from the grammar. It also unifies the
parameters used to specialize un-anchored trees and propagates additional
features given in the ILexEntry.
|
|
|
Select and returns the set of entries from the lexicon whose semantics
subsumes the input semantics.
|
|
Produced by Haddock version 2.6.0 |