antfarm-0.1.0.0: Referring expressions for definitions

Portabilityportable
Stabilityexperimental
Maintainereric.kow@gmail.com
Safe HaskellSafe-Infered

NLP.Antfarm.English

Description

Functions to realise antfarm output in English.

We're not under any illusions that antfarm will work well for languages other than English, but it could still be useful to try anyway.

Synopsis

Documentation

englishRx :: [Tree SubRx] -> TextSource

English realisation for a referring expression

englishSubrx :: SubRx -> TextSource

English realisation for a referring expression subunit (this can be useful if you need special formatting between units, eg. bullet points)

englishDiscriminatorSource

Arguments

:: SingPlu [Text]

default determiner

-> Discriminator 
-> [Text]