HFST: Downloads

For information on newest releases, see release notes on our Github pages.

To see what we offer, see the overview page.

Morphologies, hyphenators and spellers

The ready-compiled morphological, hyphenation and spell transducers and scripts are still available on our old Sourceforge download pages.

Installing HFST from source

The easiest way to get source files of HFST libraries and tools is to download them as tarballs from the Github download page.

If you want to use our Github repository instead, you can git clone it.

For information on installation, see HFST README.

Installing HFST to Mac OS X

Up-to-date, statically linked universal binaries for HFST command line tools are available via Apertium on their web pages. Extract either file hfst-latest.7z or hfst-latest.zip and go to folder hfst/bin/ where the binaries are located. For python bindings, see here.

Installing HFST to Windows

Up-to-date, statically linked executables for HFST command line tools are available via Apertium on their web pages. Extract either file hfst-latest.7z or hfst-latest.zip and go to folder hfst/bin/ where the executables are located. For python bindings, see here.

Installing HFST to Linux

The latest stable debian packages are distributed as part of Apertium on their web pages. There are five kinds of packages (examples given for version 3.12.2):

name description dependencies on other hfst packages
hfst hfst command line tools and their man pages libhfst48
libhfst48-dev header files of hfst library libhfst48
libhfst48 the hfst library none
python-libhfst python version 2 bindings for hfst library libhfst48
python3-libhfst python version 3 bindings for hfst library libhfst48

The package naming convention is

{PACKAGE}_{RELEASE}~{REVISION}-{DEBIAN_VERSION}_{ARCHITECTURE}.deb

For example, the package

hfst_3.12.2~r3256-0ubuntu1~trusty1_amd64.deb

is an hfst package, release 3.12.2 which corresponds to revision 3256 (revision numbers are based on git repository being accessed via svn), for Debian version 0ubuntu1~trusty1 for a 64-bit operating system.

The command

lsb_release -a

helps you to find the right package. It will e.g. print something like

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.2 LTS
Release:        16.04
Codename:       xenial

In the example case, the line Codename shows that the right package is of form *~xenial*.deb.

The command file /usr/bin/file is one way to check whether your system is 64-bit or 32-bit. It will print something like:

/usr/bin/file: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked ...

In the above case, a package ending in amd64 is the right choice.

Packages can be installed with dpkg:

dpkg --install libhfst48_***.deb
dpkg --install libhfst48-dev_***.deb
dpkg --install hfst_***.deb
dpkg --install python-libhfst_***.deb
dpkg --install python3-libhfst_***.deb


-- ErikAxelson - 2009-09-30