MAKEWEIGHTS(6) Games Manual MAKEWEIGHTS(6)NAME
makeweights - generate a GNU Backgammon binary weights file
SYNOPSIS
makeweights [[-f] output [input]]
DESCRIPTION
makeweights generates GNU Backgammon binary weights file from a text input file. By default, it reads input from standard input and writes
output to standard output, but input and output files may be specified on the command line. It is only of interest if you want to regener-
ate the gnubg.wd database from a modified gnubg.weights file.
OPTIONS -f This option may be given for compatibility with the options of other GNU Backgammon programs but is ignored.
EXAMPLES
To generate gnubg.wd from gnubg.weights:
makeweights gnubg.wd gnubg.weights
SEE ALSO gnubg(6)AUTHORS
Joseph Heled, Oystein Johansen, Jorn Thyssen, and Gary Wong, with the assistance of many others <bug-gnubg@gnu.org>.
This manual page was written by Russ Allbery <rra@debian.org>, for the Debian GNU/Linux system (but may be used by others). It may be
redistributed and/or modified under the terms of version 3 or later of the GNU General Public License as published by the Free Software
Foundation (the same license as GNU Backgammon).
2008-02-16 MAKEWEIGHTS(6)
Check Out this Related Man Page
fst-train(1) fst-train fst-train(1)NAME
fst-train - learning transducer weights
SYNOPSIS
fst-train [ options ] file [ input-file ]
OPTIONS -t file
use multiple transducers in the same way as fst-infl2.
-b This option is used for supervised training with disambiguated data.
-d Disambiguate the analyses symbolically as described in the man pages of fst-infl2.
-q quiet mode
DESCRIPTION
fst-train is used to learn statistical weights for the transducers transitions based on training data. Training is either unsupervised
(default) or supervised (option -b).
In supervised mode, the input contains fully disambiguated data with the surface and the analysis form. The format restrictions are identi-
cal to those applying for lexicon entries, i.e. all operators other than the colon operator (:) are interpreted literally.
In unsupervised mode, the input data consists of surface strings. The format is identical to the input format of fst-infl and fst-infl2.
The transducer weights are stored in files whose names are obtained by appending .prob to the names of the transducer files.
BUGS
No bugs are known so far.
SEE ALSO
fst-infl2, fst-compiler
AUTHOR
Helmut Schmid, Institute for Computational Linguistics, University of Stuttgart, Email: schmid@ims.uni-stuttgart.de, This software is
available under the GNU Public License.
October 2005 fst-train(1)
Hi
I've been trying to add a decimal place to a list of weights in a file but have been having problems with the decimal place for the Kg.
I can convert the g weights with this code:
sed -i "//s/^/0./"
How do I convert the Kg weights into decimal so that 1Kg would be 1.0Kg
250g
500g... (2 Replies)