.TH "farequal" "1" "Jul 2020" "OpenFst 1.7.9" "User Commands" .SH "NAME" farequal \- test if two finite\-state archives have equal contents .SH "SYNOPSIS" .B farequal [\fIOPTIONS\fP] \fIin1.far\fP \fIin2.far\fP .SH "DESCRIPTION" .PP Tests if two finite-state archives contain the same (key,fst) pairs. .SH "OPTIONS" .PP Boolean options accept either \fItrue\fP or \fIfalse\fP as a value, or the implicit value \fItrue\fP if neither value is specified. .TP \fB\-\-begin_key=\fISTRING\fP First key to extract. Default: first key in the archive. .TP \fB\-\-delta\fP=\fIVALUE\fP Set the comparison/quantization delta. Default: 0.000976562. .TP \fB\-\-end_key=\fISTRING\fP Last key to extract. Default: last key in the archive. .TP \fB\-\-fst_align\fP[=\fIBOOLEAN\fP] Write FST data aligned where appropriate. Default: false. .TP \fB\-\-fst_compat_symbols\fP[=\fIBOOLEAN\fP] Require symbol tables to match when appropriate. Default: true. .TP \fB\-\-fst_default_cache_gc\fP[=\fIBOOLEAN\fP] Enable garbage collection of cache. Default: true. .TP \fB\-\-fst_default_cache_gc_limit\fP=\fIN\fP Set the cache byte size that triggers garbage collection. Default: 1048576. .TP \fB\-\-fst_error_fatal[=\fIBOOLEAN\fP] If true, FST errors are fatal. Otherwise, returned objects are flagged as bad. For example, FSTs are returned with the \fIkError\fP property set to true, and FST weights set so that \fIMember()\fP returns false. Default: true. .TP \fB\-\-fst_field_separator\fP=\fISTRING\fP Set the characters used as a separator between printed fields. Default: " ". .TP \fB\-\-fst_read_mode\fP=\fISTRING\fP Set the default file reading mode for mappable files, either "read" or "map". Default: "read". .TP \fB\-\-fst_verify_properties\fP[=\fIBOOLEAN\fP] Verify fst properties queried by TestProperties. Default: false. .TP \fB\-\-fst_weight_parentheses\fP=\fISTRING\fP Set the characters enclosing the first weight of a printed composite weight (e.g., pair weight, tuple weight, and derived classes) to ensure proper I/O of nested composite weights. Must have size 0 (none) or 2 (open and close parenthesis). Default: no parentheses. .TP \fB\-\-fst_weight_separator\fP=\fICHARACTER\fP Set the character separator between printed composite weights. Default: comma. .TP \fB\-\-help\fP[=\fIBOOLEAN\fP] Show usage information. Default: false. .TP \fB\-\-helpshort\fP[=\fIBOOLEAN\fP] Show brief usage information. Default: false. .TP \fB\-\-save_relabel_ipairs\fP=\fIFILENAME\fP Save input relabel pairs to file. Default: do not save. .TP \fB\-\-save_relabel_opairs\fP=\fIFILENAME\fP Save output relabel pairs to file. Default: do not save. .TP \fB\-\-tmpdir\fP=\fIPATHNAME\fP Set the temporary directory to use. Default: /tmp. .TP \fB\-\-v\fP[=\fIN\fP] Set the verbosity level. Default: 0. .SH "SEE ALSO" .PP \fIfarcompilestrings\fP(1), \fIfarcreate\fP(1), \fIfarextract\fP(1), \fIfarinfo\fP(1), \fIfarisomorphic\fP(1), \fIfarprintstrings\fP(1)