Scroll to navigation

HFST-PMATCH(1) User Commands HFST-PMATCH(1)

NAME

hfst-pmatch - =perform matching/lookup on text streams

SYNOPSIS

hfst-pmatch [OPTIONS...] TRANSDUCER

DESCRIPTION

perform matching/lookup on text streams

Common options:

Print help message
Print version info
Print verbosely while processing
Only print fatal erros and requested output
Alias of --quiet
Print in colour WHEN:
always, never, auto (default)

Input/Output options:

Read input transducer from INFILE
Write output transducer to OUTFILE

Pmatch options:

Newline as input separator (default is blank line)
Only print tagged parts in output
Only print locations of matches
In locate mode, include weights of the matches
Print the total number of matches when done
Replace matches with opening tags
Don't tag matched patterns
Upper limit to context length allowed
Upper limit for recursion
Upper limit for allowed weight
Limit search after having used S seconds per input
Produce profiling data

Use standard streams for input and output.

REPORTING BUGS

Report bugs to <hfst-bugs@helsinki.fi> or directly to our bug tracker at: <https://github.com/hfst/hfst/issues>

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

COPYRIGHT

Copyright © 2017 University of Helsinki, License GPLv3: GNU GPL version 3 <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

April 2026 HFST