Scroll to navigation

HFST-PMATCH2FST(1) User Commands HFST-PMATCH2FST(1)

NAME

hfst-pmatch2fst - =Compile regular expressions into transducer(s)

SYNOPSIS

hfst-pmatch2fst [OPTIONS...] [INFILE]

DESCRIPTION

Compile regular expressions into transducer(s)

(Experimental version)

Common options:

Print help message
Print version info
Print verbosely while processing
Only print fatal erros and requested output
Alias of --quiet

Input/Output options:

Read input transducer from INFILE
Write output transducer to OUTFILE

String and format options:

Map EPS as zero
Compile in all RTNs
When compiling Like() operations, include cosine distance info

If OUTFILE or INFILE is missing or -, standard streams will be used. If EPS is not defined, the default representation of 0 is used Weights are currently not implemented.

EXAMPLES

UppercaseAlpha Alpha* LC({professor}) EndTag(ProfName);" | hfst-pmatch2fst
create matcher that tags "professor Chomsky" as "professor <ProfName>Chomsky</ProfName>"

REPORTING BUGS

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

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

August 2018 HFST