lojbanios-0.1.0.0: Lojban teaching platform
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Lojban.Canonicalization.Internals

Synopsis

Documentation

type StructuredTerm = Text Source #

type ExtraTerm = Text Source #

normalizeText :: Text -> Text Source #

Normalizes the text prior to parsing.

Useful for performing dirty hacks, such as blindly replacing "be fi" with "be zo'e bei, until canonicalization of the corresponding construct is properly implement using the parse tree.

canonicalizeParsedText :: (Free, Text, Terminator) -> Either String Text Source #

canonicalizeParsedBridi :: (Free, Text, Terminator) -> Either String Text Source #

canonicalizeParsedTerm :: (Free, Text, Terminator) -> Either String Text Source #

retrieveSimpleBridi :: (Free, Text, Terminator) -> Either String SimpleBridi Source #