hfst-txt2fst(1)

hfst-txt2fst1

=convert at&t or prolog format into a binary transducer

Usage

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

Overview

Convert AT&T or prolog format into a binary transducer

Common options:

-h, --help

Print help message

-V, --version

Print version info

-v, --verbose

Print verbosely while processing

-q, --quiet

Only print fatal erros and requested output

-s, --silent

Alias of --quiet

Input/Output options:

-i, --input=INFILE

Read input transducer from INFILE

-o, --output=OUTFILE

Write output transducer to OUTFILE

Text and format options:

-f, --format=FMT

Write result using FMT as backend format

-e, --epsilon=EPS

Interpret string EPS as epsilon in att format

-p, --prolog

Read prolog format instead of att

-j, --disjunct

Disjunct multiple transducers in input

Other options:

-C, --check-negative-epsilon-cycles

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.

Releases

5 releases since Debian 9 (Stretch); the text changed 2 times.

  1. 9
  2. 10–11
  3. 12–13

--disjunct since Debian 12 (Bookworm); -j since Debian 12 (Bookworm).

Reporting bugs

Report bugs to <[email protected]> or directly to our bug tracker at: <https://github.com/hfst/hfst/issues>

hfst-txt2fst home page: <https://github.com/hfst/hfst/wiki/HfstTxt2Fst>
General help using HFST software: <https://github.com/hfst/hfst/wiki>

From hfst 3.16.2-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.