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).