EnglishFrenchSpanish

OnWorks favicon

hfst-substitute - Online in the Cloud

Run hfst-substitute in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command hfst-substitute that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


hfst-substitute - =Relabel transducer arcs

SYNOPSIS


hfst-substitute [OPTIONS...] [INFILE]

DESCRIPTION


Relabel transducer arcs

Common options:
-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 --quiet

Input/Output options:
-i, --input=INFILE
Read input transducer from INFILE

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

Relabeling options:
-f, --from-label=FLABEL
replace FLABEL

-t, --to-label=TLABEL
replace with TLABEL

-T, --to-transducer=TFILE
replace with transducer read from TFILE

-F, --from-file=LABELFILE
read replacements from LABELFILE

-R, --in-order
keep the order of the replacements (with -F)

Input options:
-C, --do-not-convert
require that transducers in TFILE and INFILE have the same type

Transient optimisation schemes:
-9, --compose
compose substitutions when possible

If OUTFILE or INFILE is missing or -, standard streams will be used. Format of result
depends on format of INFILE LABEL must be a symbol name in single arc in transducer, or
colon separated pair defining an arc. If TFILE is specified, FLABEL must be a pair.
LABELFILE is a 2 column tsv file where col 1 is FLABEL and col 2 gives TLABEL
specifications.

EXAMPLES


hfst-substitute -i tr.hfst -o tr_relabeled.hfst -f 'a' -t 'A'

relabel all symbols 'a' with 'A'

hfst-substitute -i tr.hfst -o tr_relabeled.hfst -f 'a:b' -t 'A:B'

relabel all arcs 'a:b' with 'A:B'

hfst-substitute -i tr.hfst -o tr_relabeled.hfst -f 'a:b' -T repl.hfst

replace all arcs 'a:b' with transducer repl.hfst

REPORTING BUGS


Report bugs to <hfst-bugs@helsinki.fi> or directly to our bug tracker at:
<https://sourceforge.net/tracker/?atid=1061990&group_id=224521&func=browse>

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

COPYRIGHT


Copyright © 2010 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.

Use hfst-substitute online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

  • 1
    4ti2-rays
    4ti2-rays
    4ti2 - software package for algebraic,
    geometric and combinatorial problems on
    linear spaces ...
    Run 4ti2-rays
  • 2
    4ti2-walk
    4ti2-walk
    4ti2 - software package for algebraic,
    geometric and combinatorial problems on
    linear spaces ...
    Run 4ti2-walk
  • 3
    cpufreq-info
    cpufreq-info
    cpufreq-info - Utility to retrieve
    cpufreq kernel information SYNTAX:
    cpufreq-info [options] DESCRIPTION: A
    small tool which prints out cpufreq
    information hel...
    Run cpufreq-info
  • 4
    cpufreq-selector
    cpufreq-selector
    cpufreq-selector � tool to set CPU
    frequency ...
    Run cpufreq-selector
  • 5
    gap
    gap
    GAP - Groups, Algorithms and
    Programming DESCRIPTION: GAP is a system
    for computational discrete algebra with
    particular emphasis on computational
    group theory...
    Run gap
  • 6
    gap.real
    gap.real
    GAP - Groups, Algorithms and
    Programming DESCRIPTION: GAP is a system
    for computational discrete algebra with
    particular emphasis on computational
    group theory...
    Run gap.real
  • More »

Ad