EnglishFrenchSpanish

OnWorks favicon

hfst-reweight - Online in the Cloud

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

This is the command hfst-reweight 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-reweight - =Reweight transducer weights simply

SYNOPSIS


hfst-reweight [OPTIONS...] [INFILE]

DESCRIPTION


Reweight transducer weights simply

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

Reweighting options:
-a, --addition=AVAL
add AVAL to matching weights

-b, --multiplier=BVAL
multiply matching weights by BVAL

-F, --function=FNAME
operate matching weights by FNAME

-l, --lower-bound=LVAL
match weights greater than LVAL

-u, --upper-bound=UVAL
match weights less than UVAL

-I, --input-symbol=ISYM
match arcs with input symbol ISYM

-O, --output-symbol=OSYM
match arcs with output symbol OSYM

-S, --symbol=SYM
match arcs havins symbol SYM

-e, --end-states-only
match end states only, no arcs

-A, --arcs-only
match arcs only, no end states

-T, --tsv-file=TFILE
read reweighting rules from TFILE

If OUTFILE or INFILE is missing or -, standard streams will be used. Format of result
depends on format of INFILE If AVAL, BVAL or FNAME are omitted, they default to neutral
elements of addition, multiplication or identity function. If LVAL or UVAL are omitted,
they default to minimum and maximum values of the weight structure. If ISYM, OSYM or SYM
are omitted, they default to a value that matches all arcs.

Float values are parsed with strtod(3) and integers strtoul(3). The functions allowed for
FNAME are <cmath> float functions with parameter count of 1 and a matching return value:
abs, acos, asin, ... sqrt, tan, tanh

The precedence of operands follows the formula BVAL * FNAME(w) + AVAL. The formula is
applied iff: ((LVAL <= w) && (w <= UVAL)), where w is weight of arc, and (ISYM == i) &&
(OSYM == o) && ((SYM == i) || (SYM == o)) ^^ (end state && -e).

TFILE should contain lines with tab-separated pairs of SYM and AVAL or BVAL. AVAL values
must be preceded by a + character, BVAL should be given as plain digits. Comment lines
starting with # and empty lines are ignored.

Weights are by default modified for all arcs and end states, unless option
--end-states-only or --arcs-only is used.

REPORTING BUGS


Report bugs to <[email protected]> or directly to our bug tracker at:
<https://sourceforge.net/tracker/?atid=1061990&group_id=224521&func=browse>

hfst-reweight home page: <https://kitwiki.csc.fi/twiki/bin/view/KitWiki//HfstReweight>
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-reweight online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PSeInt
    PSeInt
    PSeInt is a pseudo-code interpreter for
    spanish-speaking programming students.
    Its main purpose is to be a tool for
    learning and understanding the basic
    concep...
    Download PSeInt
  • 2
    oStorybook
    oStorybook
    oStorybook l'outil privil�gi� des
    �crivains. ATTENTION : voir sur
    http://ostorybook.tuxfamily.org/v5/
    --en_EN oStorybook the right tool for
    writers. WARNIN...
    Download oStorybook
  • 3
    Asuswrt-Merlin
    Asuswrt-Merlin
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • 4
    Atom
    Atom
    Atom is a text editor that's
    modern, approachable and full-featured.
    It's also easily customizable- you
    can customize it to do anything and be
    able to ...
    Download Atom
  • 5
    Osu!
    Osu!
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    community-dr...
    Download Osu!
  • 6
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • More »

Linux commands

Ad