fst-match(1)

fst-match1

Longest match analyser

Usage

fst-match [options] file [input-file [output-file]]

Options

-q

Suppress status messages.

-h

Print usage information.

Overview

fst-match is a longest match analyser. The first argument is the name of a compact transducer file which was generated by fst-compiler -c. The second argument is the name of the input file. The third argument is the output file. If the third argument is missing, output is directed to stdout. If the second argument is missing, as well, input is read from stdin.

fst-match reads the argument transducer and performs a longest-match analysis of the input string. Given the transducer <x>:<>ab+<x>:<>, it will analyse the string baabbca as ba<x>abb<x>ca.

Releases

Unchanged in 8 releases since Debian 6.0 (Squeeze).

  1. 6.0–13

Bugs

If the longest match can be mapped to several target strings, only one of them is printed.

Author

Helmut Schmid, Institute for Computational Linguistics, University of Stuttgart, Email: [email protected], This software is available under the GNU Public License.

From sfst 1.7.0-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.