openfst/1.8.2

A library for constructing, combining, optimizing and searching weighted finite-state-transducers (FSTs).
Recipe info
2023-08-07

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
openfst/1.8.2

Using openfst

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
openfst/1.8.2
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("openfst/1.8.2")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): OpenFst
  • CMake target name(s): OpenFst::OpenFst
  • pkg-config file name(s): openfst.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(OpenFst REQUIRED)
# ...
target_link_libraries(YOUR_TARGET OpenFst::OpenFst)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the openfst homepage listed above:

#include "fst/accumulator.h"
#include "fst/add-on.h"
#include "fst/arc-arena.h"
#include "fst/arc-map.h"
#include "fst/arc.h"
#include "fst/arcfilter.h"
#include "fst/arcsort.h"
#include "fst/bi-table.h"
#include "fst/cache.h"
#include "fst/closure.h"
#include "fst/compact-fst.h"
#include "fst/compat.h"
#include "fst/complement.h"
#include "fst/compose-filter.h"
#include "fst/compose.h"
#include "fst/concat.h"
#include "fst/connect.h"
#include "fst/const-fst.h"
#include "fst/determinize.h"
#include "fst/dfs-visit.h"
#include "fst/difference.h"
#include "fst/disambiguate.h"
#include "fst/edit-fst.h"
#include "fst/encode.h"
#include "fst/epsnormalize.h"
#include "fst/equal.h"
#include "fst/equivalent.h"
#include "fst/error-weight.h"
#include "fst/expanded-fst.h"
#include "fst/expander-cache.h"
#include "fst/expectation-weight.h"
#include "fst/extensions/far/compile-strings.h"
#include "fst/extensions/far/convert.h"
#include "fst/extensions/far/create.h"
#include "fst/extensions/far/encode.h"
#include "fst/extensions/far/equal.h"
#include "fst/extensions/far/extract.h"
#include "fst/extensions/far/far-class.h"
#include "fst/extensions/far/far.h"
#include "fst/extensions/far/farlib.h"
#include "fst/extensions/far/farscript.h"
#include "fst/extensions/far/getters.h"
#include "fst/extensions/far/info.h"
#include "fst/extensions/far/isomorphic.h"
#include "fst/extensions/far/map-reduce.h"
#include "fst/extensions/far/print-strings.h"
#include "fst/extensions/far/script-impl.h"
#include "fst/extensions/far/stlist.h"
#include "fst/extensions/far/sttable.h"
#include "fst/extensions/mpdt/compose.h"
#include "fst/extensions/mpdt/expand.h"
#include "fst/extensions/mpdt/info.h"
#include "fst/extensions/mpdt/mpdt.h"
#include "fst/extensions/mpdt/mpdtlib.h"
#include "fst/extensions/mpdt/mpdtscript.h"
#include "fst/extensions/mpdt/read_write_utils.h"
#include "fst/extensions/mpdt/reverse.h"
#include "fst/extensions/pdt/collection.h"
#include "fst/extensions/pdt/compose.h"
#include "fst/extensions/pdt/expand.h"
#include "fst/extensions/pdt/getters.h"
#include "fst/extensions/pdt/info.h"
#include "fst/extensions/pdt/paren.h"
#include "fst/extensions/pdt/pdt.h"
#include "fst/extensions/pdt/pdtlib.h"
#include "fst/extensions/pdt/pdtscript.h"
#include "fst/extensions/pdt/replace.h"
#include "fst/extensions/pdt/reverse.h"
#include "fst/extensions/pdt/shortest-path.h"
#include "fst/factor-weight.h"
#include "fst/filter-state.h"
#include "fst/flags.h"
#include "fst/float-weight.h"
#include "fst/fst-decl.h"
#include "fst/fst.h"
#include "fst/fstlib.h"
#include "fst/generic-register.h"
#include "fst/heap.h"
#include "fst/icu.h"
#include "fst/intersect.h"
#include "fst/interval-set.h"
#include "fst/invert.h"
#include "fst/isomorphic.h"
#include "fst/label-reachable.h"
#include "fst/lexicographic-weight.h"
#include "fst/lock.h"
#include "fst/log.h"
#include "fst/lookahead-filter.h"
#include "fst/lookahead-matcher.h"
#include "fst/mapped-file.h"
#include "fst/matcher-fst.h"
#include "fst/matcher.h"
#include "fst/memory.h"
#include "fst/minimize.h"
#include "fst/mutable-fst.h"
#include "fst/pair-weight.h"
#include "fst/partition.h"
#include "fst/power-weight-mappers.h"
#include "fst/power-weight.h"
#include "fst/product-weight.h"
#include "fst/project.h"
#include "fst/properties.h"
#include "fst/prune.h"
#include "fst/push.h"
#include "fst/queue.h"
#include "fst/randequivalent.h"
#include "fst/randgen.h"
#include "fst/rational.h"
#include "fst/register.h"
#include "fst/relabel.h"
#include "fst/replace-util.h"
#include "fst/replace.h"
#include "fst/reverse.h"
#include "fst/reweight.h"
#include "fst/rmepsilon.h"
#include "fst/rmfinalepsilon.h"
#include "fst/script/arc-class.h"
#include "fst/script/arcfilter-impl.h"
#include "fst/script/arciterator-class.h"
#include "fst/script/arcsort.h"
#include "fst/script/arg-packs.h"
#include "fst/script/closure.h"
#include "fst/script/compile-impl.h"
#include "fst/script/compile.h"
#include "fst/script/compose.h"
#include "fst/script/concat.h"
#include "fst/script/connect.h"
#include "fst/script/convert.h"
#include "fst/script/decode.h"
#include "fst/script/determinize.h"
#include "fst/script/difference.h"
#include "fst/script/disambiguate.h"
#include "fst/script/draw-impl.h"
#include "fst/script/draw.h"
#include "fst/script/encode.h"
#include "fst/script/encodemapper-class.h"
#include "fst/script/epsnormalize.h"
#include "fst/script/equal.h"
#include "fst/script/equivalent.h"
#include "fst/script/fst-class.h"
#include "fst/script/fstscript-decl.h"
#include "fst/script/fstscript.h"
#include "fst/script/getters.h"
#include "fst/script/info-impl.h"
#include "fst/script/info.h"
#include "fst/script/intersect.h"
#include "fst/script/invert.h"
#include "fst/script/isomorphic.h"
#include "fst/script/map.h"
#include "fst/script/minimize.h"
#include "fst/script/print-impl.h"
#include "fst/script/print.h"
#include "fst/script/project.h"
#include "fst/script/prune.h"
#include "fst/script/push.h"
#include "fst/script/randequivalent.h"
#include "fst/script/randgen.h"
#include "fst/script/relabel.h"
#include "fst/script/replace.h"
#include "fst/script/reverse.h"
#include "fst/script/reweight.h"
#include "fst/script/rmepsilon.h"
#include "fst/script/script-impl.h"
#include "fst/script/shortest-distance.h"
#include "fst/script/shortest-path.h"
#include "fst/script/stateiterator-class.h"
#include "fst/script/synchronize.h"
#include "fst/script/text-io.h"
#include "fst/script/topsort.h"
#include "fst/script/union.h"
#include "fst/script/verify.h"
#include "fst/script/weight-class.h"
#include "fst/set-weight.h"
#include "fst/shortest-distance.h"
#include "fst/shortest-path.h"
#include "fst/signed-log-weight.h"
#include "fst/sparse-power-weight.h"
#include "fst/sparse-tuple-weight.h"
#include "fst/state-map.h"
#include "fst/state-reachable.h"
#include "fst/state-table.h"
#include "fst/statesort.h"
#include "fst/string-weight.h"
#include "fst/string.h"
#include "fst/symbol-table-ops.h"
#include "fst/symbol-table.h"
#include "fst/synchronize.h"
#include "fst/test-properties.h"
#include "fst/test/algo_test.h"
#include "fst/test/compactors.h"
#include "fst/test/fst_test.h"
#include "fst/test/rand-fst.h"
#include "fst/test/weight-tester.h"
#include "fst/topsort.h"
#include "fst/tuple-weight.h"
#include "fst/union-find.h"
#include "fst/union-weight.h"
#include "fst/union.h"
#include "fst/util.h"
#include "fst/vector-fst.h"
#include "fst/verify.h"
#include "fst/visit.h"
#include "fst/weight.h"
#include "fst/windows_defs.inc"