mcreate - Create a file
containing the simple probabilities.
SYNOPSIS
-
mcreate
{-t <Input_text>}
{-i <Input Matrices_file>}
{-o <Output_Matrices_File>}
{-C Nbr_fields}
{-v print version}
DESCRIPTION
Create a file containing the probabilities of matrices A,B and PI from
the files input matrices file and a text generated by mpreptxt
program.
Each state of a class has an equi-probability to have one state of the
following class following it.
If the list of class C1 is [S1,..,Sn] and the list of the following
class C2 is [T1,...,Tm] then,
P(S1,T1) = 1/n*m
It returns a matrices file, that can be used as the initial matrices in
the training program.
OPTIONS
-
mcreate supports the following options:
-
-t Input_text
-
Specifies the input text formatted by the mpreptxt
program
-
-i Input_Matrices_File
-
Specifies the file name with tag and class set as well as the matrices
A,B,PI definitions. (the default is MM.ini).
-
-o Output_Matrices_File
-
Specifies the output matrices file (the default is MM.new).
-
-C Nbr_fields
-
Number of fields preceding the [BOS|EOS] field (the default is 1)
-
-v version
-
Print the program version
INPUT/OUTPUT
Description of the input and output files involved in this program.
Input ==>
- Training text formatted with mpreptxt : $TEST.tr
- Matrice file : $MM.init
Output ==>
-
- The New Matrices : $MM.new
COMMAND EXAMPLES
Description of the logical succession of commands that you can enter:
> mpreptxt -i <Text> .... -o <Text_prepared> -T -r <Correct_Tag_File>
> mcreate -t <Text_prepared> {-i <Matrices_File>}
{-o <Output_Matrices_File>}
> mtrain -i <Input_Matrices_File> -o <Output_Matrices_File>
...
> mtag {-m <Matrices_File>} ...
SEE ALSO
mpreptxt(1)
mtrain(1)
mtag(1)
mtagfreq(1)
mprint(1)
mdiff(1)
mdiffb(1)
mcontext(1)
mbiases(1)
mhandtag(1)
AUTHOR
Gilbert ROBERT
(Gilbert.Robert@issco.unige.ch)
ISSCO, 54 route des Acacias
1227 Geneva, Switzerland
Comments, suggestions, and bug reports are always welcome.