Scroll to navigation

HFST-TXT2FST(1) User Commands HFST-TXT2FST(1)


hfst-txt2fst - =Convert AT&T or prolog format into a binary transducer


hfst-txt2fst [OPTIONS...] [INFILE]


Convert AT&T or prolog format into a binary transducer

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

Text and format options:

Write result using FMT as backend format
Interpret string EPS as epsilon in att format
Read prolog format instead of att
Disjunct multiple transducers in input

Other options:

Issue a warning if there are epsilon cycles with a negative weight in the transducer

If OUTFILE or INFILE is missing or -, standard streams will be used. If FMT is not given, OpenFst's tropical format will be used. The possible values for FMT are { foma, openfst-tropical, openfst-log, sfst, optimized-lookup-weighted, optimized-lookup-unweighted }. If EPS is not given, @0@ will be used.

Space in transition symbols must be escaped as '@_SPACE_@' when using att format.


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

hfst-txt2fst 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