Install MacPorts
Optionally update MacPorts
sudo port selfupdate
Download the port tree of HFST
- Unpack the port tree
- Add the port tree dir
file:///.../hfst-macport/to/opt/local/etc/macports/sources.conf sudo port install hfst
Upgrade pip
pip install --upgrade pippython3 -m pip install --upgrade pip
Install Python bindings for HFST
pip install hfstpython3 -m pip install hfst
Clone omorfi
git clone https://github.com/flammie/omorfi.git
Run ./autogen.sh
If needed, brew install autoconf automake libtool
Run ./configure
Run make && make -j install
http://wiki.apertium.org/wiki/Hfst