https://github.com/joom/foma.hs
Simple Haskell bindings for Foma.
https://github.com/joom/foma.hs
Last synced: about 2 months ago
JSON representation
Simple Haskell bindings for Foma.
- Host: GitHub
- URL: https://github.com/joom/foma.hs
- Owner: joom
- License: mit
- Created: 2015-06-23T02:53:14.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-23T03:16:07.000Z (about 11 years ago)
- Last Synced: 2025-02-28T16:17:14.966Z (over 1 year ago)
- Language: Haskell
- Size: 133 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# foma.hs
Haskell bindings for the [Foma](https://en.wikipedia.org/wiki/Foma_(software)) library.
## Installation
You must have [Foma](https://code.google.com/p/foma/) installed.
```
cabal install foma
```
## Example
```haskell
import Language.Foma
main = do
fsm <- fsmReadBinaryFile "../TRmorph/trmorph.fst"
let handle = applyInit fsm
print (applyUp handle "okudum")
```
## License
[MIT](https://github.com/joom/foma.hs/blob/master/LICENSE)