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

Safe HaskellNone
LanguageHaskell2010

NLP.GenI.Warning.Internal

Synopsis

Documentation

newtype GeniWarnings Source #

This exists because we want the Monoid instance, providing a GenI-specific notion of appending which merges instances of the same error

Constructors

GeniWarnings 

data GeniWarning Source #

Constructors

LexWarning [LexEntry] LexWarning

A warning that should be repeated for each lexical entry affected

CustomLexWarning Text

A single custom warning

NoLexSelection [Literal GeniVal]

Literals which did not receive any lexical selection

MorphWarning [Text]

Warnings from the morphological realiser

posort :: Poset a => [a] -> [a] Source #

Sort, treating non-comporable items as equal

showGeniWarning :: GeniWarning -> [Text] Source #

A warning may be displayed over several lines