OpenGrm SFst - Release 1.0
OpenGrm SFst is a library for normalizing, sampling, combining, and
approximating stochastic (or probabilistic) finite-state
transducers. These are weighted finite-state transducers, represented
in OpenFst library.
REQUIREMENTS:
This version is known to work under Linux g++ (>= 7.3). Expected to
work wherever adequate POSIX (dlopen, ssize_t, basename), c99
(snprintf, strtoll, <stdint.h>), and C__11 (<ordered_set>,
<ordered_map>, <forward_list>) support are available. It assumes you
have installed OpenFst (www.openfst.org) 1.6.8 or higher and have
configured it with the --enable-far flag.
INSTALLATION:
Follow the generic GNU build system instructions in ./INSTALL. We
recommend configuring with =--enable-static=no= for faster
compiles.
Configuring with --enable-bin=no gives very fast compiles, but
excludes the command line utilities.
Compiling with '-Wall -Wno-sign-compare' under g++ should give no
warnings from this library.
NOTE: In some versions of MacOS X we have noticed a problem with configure
whereby it fails to find fst.h. If this occurs, try configuring as follows:
CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure
USAGE:
Assuming you've installed under the default =/usr/local=, the GRM
binaries are found on /usr/local/bin. Headers will be in
/usr/local/include/sfst, and libraries in /usr/local/lib.
To use in your own programs you will need to include
<sfst/sfstlib.h>. Compile with '-I /usr/local/include' and link
against /usr/local/lib/libfst.so, /usr/local/lib/fst/libfstfar.so
/usr/local/lib/libsfst.so and -ldl. Set your LD_LIBRARY_PATH (or
equivalent) to contain /usr/local/lib.
The linking is, by default, dynamic so that the Fst and Arc type DSO
extensions can be used correctly if desired.
DOCUMENTATION:
See sfst.opengrm.org for general documentation.
See ./NEWS for updates since the last release.
--
Michael Riley - 2018-07-17