minimorph-0.1.1.0: English spelling functions with an emphasis on simplicity.

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

NLP.Minimorph.Util

Description

Utility functions probably internal to minimorph

Synopsis

Documentation

tTakeEnd :: Int -> Text -> TextSource

tTakeEnd n t returns the last n letters of t

tDropEnd :: Int -> Text -> TextSource

tDropEnd n t drops the last n letters of t

(<>) :: Text -> Text -> TextSource

Identical to append

(<+>) :: Text -> Text -> TextSource

Separated by space unless one of them is empty (in which case just the non-empty one)