miniutter

Simple English clause creation from arbitrary words

https://github.com/Mikolaj/miniutter

Version on this page:0.5.1.1
LTS Haskell 22.37:0.5.1.2
Stackage Nightly 2024-10-08:0.5.1.2
Latest on Hackage:0.5.1.2

See all snapshots miniutter appears in

BSD-3-Clause licensed by Mikolaj Konarski
Maintained by Mikolaj Konarski
This version can be pinned in stack with:miniutter-0.5.1.1@sha256:ad004392bddc46a9a7114fa2684e690c768a15f113468cc2ea1a58903c2b4cf2,4117

Module documentation for 0.5.1.1

Used by 1 package in lts-18.8(full list with versions):

miniutter

Build Status Hackage

This library helps in generating simple present tense English sentences from short, parametrized descriptions. In a typical use, the structure of a clause is fixed, but the particular words to be used vary in arbitrary ways. The main goal of the library is to minimize the API complexity and the code size of programs that use it. The library doesn’t attempt to ban incorrect English sentences, but just make the creation of the simple correct ones easy and predictable.

The library is available from Hackage1 and it’s homepage and issue tracker is on github2.

Further information

The library emerged when the needs of the LambdaHack3 game engine outgrew its rudimentary grammar code written by Andres Loeh. The library uses minimorph4 by Eric Kow to tackle English spelling. More information about natural language processing libraries in Haskell is gathered at the Haskell wiki5.