Skip to content

otakar-smrz/elixir-fm

Repository files navigation

ElixirFM

http://github.com/otakar-smrz/elixir-fm

http://otakar-smrz.github.io/elixir-fm

New things

  • ElixirFM now uses Jupyter to provide example-driven insights and documentation. Check out the IHaskell, IPython, IPerl, and IShell notebooks!

  • The Haskell library and executable pretty-print the output of the resolve, inflect, derive, lookup, and merge modes in a column-oriented format for both clarity and convenient processing. You can cut or grep the information on the command line as well as unpretty the output into nested data structures using Python or Perl.

  • The ElixirFM lexicon gets incrementally improved. In order to boost the coverage of the resolve, lookup, and inflect modes, the derive mode is applied automatically on the lexicon and verbal entries generate their masdars and active and passive participles. Check out our web service, in any case.

  • The elixir extension for TrEd provides a customizable development environment for editing the lexicon. The aqmar extension shows how ElixirFM can be integrated with annotating morphology and syntax in linguistic data.

Join us

Since ElixirFM is now hosted on GitHub, it becomes yet easier to join the project and contribute to it. We do need new features, applications, interfaces, and documentation. Feel free to contact us or clone the project!

Install and build

Steps to do:

  1. install haskell (ghc and cabal) and build ElixirFM
  2. install python or perl distributions (perl might not require haskell?)
  3. run your code

Install flow (linux/docker)

# Install haskell
apt-get update
apt-get -y install cabal-install # todo optimalize!

cd Haskell/ElixirFM/

cabal update
cabal install # build and install elixir and other binaries

# create symlinks

cp -s /root/.cabal/bin/elixir /usr/bin/elixir
cp -s /root/.cabal/bin/encode /usr/bin/encode
cp -s /root/.cabal/bin/decode /usr/bin/decode

Docker build commands

cd project/root
docker build -t elixirfm .

docker run -dit elixirFM

docker ps

# runn bash inside docker (native docker ssh alternative)
docker exec -it __container-name__ /bin/bash 

Perl

// installs packages cpan Encode::Arabic

About

ElixirFM Functional Arabic Morphology

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published