/foma.hs

Simple Haskell bindings for Foma.

Primary LanguageHaskellMIT LicenseMIT

foma.hs

Haskell bindings for the Foma library.

Installation

You must have Foma installed.

cabal install foma

Example

import Language.Foma

main = do
   fsm <- fsmReadBinaryFile "../TRmorph/trmorph.fst"
   let handle = applyInit fsm
   print (applyUp handle "okudum")

License

MIT