hfst-xfst(1)

hfst-xfst1

=compile xfst scripts or execute xfst commands interactively

Usage

hfst-xfst [OPTIONS ...]

Overview

Compile XFST scripts or execute XFST commands interactively

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

Xfst-specific options:

-e, --execute=CMD

Execute command CMD on startup

-E, --execute-and-quit=CMD Execute command CMD, and quit

-f, --format=FMT

Write result using FMT as backend format

-F, --scriptfile=FILE

Read commands from FILE, and quit

-l, --startupfile=FILE

Read commands from FILE on startup

-p, --pipe-mode[=STREAM]

Control input and output streams

-r, --no-readline

Do not use readline library for input

-w, --print-weight

Print weights for each operation

-R, --restricted-mode

Allow read and write operations only in current directory, do not allow system calls

Option --execute can be invoked many times. If FMT is not given, OpenFst's tropical format will be used. The possible values for FMT are { foma, openfst-tropical, openfst-log, sfst }. Readline library, if enabled when configuring, is used for input by default. Input files are always treated as UTF-8.

STREAM can be { input, output, both }. If not given, defaults to {both}. If input file is not specified with -F, input is read interactively line by line from the user. If you redirect input from a file, use --pipe-mode=input. --pipe-mode=output is ignored on non-windows platforms.

Releases

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

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

--pipe-mode since Debian 10 (Buster); --restricted-mode since Debian 10 (Buster); -R since Debian 10 (Buster); -p since Debian 10 (Buster).

Reporting bugs

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

hfst-xfst home page: <https://github.com/hfst/hfst/wiki/HfstXfst2Fst>
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.