logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

hfst-sfstpl2fst - =Compile a file written with SFST programming language into a transducer.

Description

       Compile a file written with SFST programming language into a transducer.

   Commonoptions:-h, --help
              Print help message

       -V, --version
              Print version info

       -v, --verbose
              Print verbosely while processing

       -q, --quiet
              Only print fatal erros and requested output

       -s, --silent
              Alias of --quietInput/Outputoptions:-i, --input=INFILE
              Read input from INFILE

       -o, --output=OUTFILE
              Write output transducer to OUTFILE

   Stringandformatoptions:-f, --format=FMT
              Write result in FMT format

       If  OUTFILE  or INFILE is missing or -, standard streams will be used.  FMT must be one of the following:
       {foma, sfst, openfst-tropical, openfst-log}

Examples

              echo "[a-z]*" | hfst-sfstpl2fst -f foma > az.foma

              create a foma transducer accepting any number of consecutive characters between a and z, inclusive

              echo "a:b (a:<>)+" > ab.sfst-pl ; hfst-sfstpl2fst -f openfst-tropical \

       -i ab.sfst-pl -o ab.tropical

              create a tropical OpenFst transducer that accepts two or more consecutive 'a's and maps them  into
              string "b"

Name

       hfst-sfstpl2fst - =Compile a file written with SFST programming language into a transducer.

Reporting Bugs

       Report     bugs     to    <hfst-bugs@helsinki.fi>    or    directly    to    our    bug    tracker    at:
       <https://github.com/hfst/hfst/issues>              hfst-sfstpl2fst               home               page:
       <https://github.com/hfst/hfst/wiki/HfstSfstPl2Fst>
       General help using HFST software: <https://github.com/hfst/hfst/wiki>

Synopsis

hfst-sfstpl2fst(aliashfst-calculate) [OPTIONS...] [INFILE]

See Also