DOKK / manpages / debian 11 / hfst / hfst-compare.1.en
HFST-COMPARE(1) User Commands HFST-COMPARE(1)

hfst-compare - =Compare two transducers

hfst-compare [OPTIONS...] [INFILE1 [INFILE2]]

Compare two transducers

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

-1, --input1=INFILE1
Read first input transducer from INFILE1
-2, --input2=INFILE2
Read second input transducer from INFILE2
Do not allow transducers to be converted into the same type
Write results to OUTFILE

-H, --do-not-harmonize Do not harmonize symbols.

Eliminate flag diacritics.

If OUTFILE, or either INFILE1 or INFILE2 is missing or -, standard streams will be used. INFILE1, INFILE2, or both, must be specified. Format of result depends on format of INFILE1 and INFILE2; both should have the same format.

The operation is applied pairwise for INFILE1 and INFILE2 that must have the same number of transducers. If INFILE2 has only one transducer, the operation is applied for each transducer in INFILE1 keeping the second transducer constant.

$ hfst-compare cat.hfst dog.hfst
cat.hfst[1] != dog.hfst[1] $ hfst-compare cat.hfst cat.hfst cat.hfst[1] == cat.hfst[1]

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

hfst-compare home page: <https://kitwiki.csc.fi/twiki/bin/view/KitWiki//HfstCompare>
General help using HFST software: <https://kitwiki.csc.fi/twiki/bin/view/KitWiki//HfstHome>

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