GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  HFST-REWEIGHT (1)

NAME

hfst-reweight - =Reweight transducer weights simply

CONTENTS

Synopsis
Description
Copyright

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
-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 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).

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-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.
Search for    or go to Top of page |  Section 1 |  Main Index


HFST HFST-REWEIGHT (1) October 2014

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.