Scroll to navigation

HFST-FST2FST(1) User Commands HFST-FST2FST(1)


hfst-fst2fst - =Convert transducers between binary formats


hfst-fst2fst [OPTIONS...] [INFILE]


Convert transducers between binary formats

Common options:

Print help message
Print version info
Print verbosely while processing
Only print fatal erros and requested output
Alias of --quiet

Input/Output options:

Read input transducer from INFILE
Write output transducer to OUTFILE

Conversion options:

Write result in FMT format
Write result in implementation format, without any HFST wrappers
Write output in (HFST's) SFST implementation
Write output in (HFST's) foma implementation
Write output in native xfsm format
Write output in (HFST's) tropical weight (OpenFST) implementation
Write output in (HFST's) log weight (OpenFST) implementation

-O, --optimized-lookup-unweighted Write output in the HFST optimized-lookup implementation

Write output in optimized-lookup (weighted) implementation
When converting to optimized-lookup, don't try hard to compress

If OUTFILE or INFILE is missing or -, standard streams will be used. Format of result depends on format of INFILE FMT must be name of a format usable by libhfst, i.e. one of the following: { foma, openfst-tropical, openfst-log, sfst, xfsm

optimized-lookup-weighted, optimized-lookup-unweighted }.

Note that xfsm format is always written in native format without HFST wrappers.


Report bugs to <> or directly to our bug tracker at: <>

hfst-fst2fst home page: <>
General help using HFST software: <>


Copyright © 2017 University of Helsinki, License GPLv3: GNU GPL version 3 <>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

August 2018 HFST