


PRVEC(1)                 USER COMMANDS                   PRVEC(1)



NAME
     prvec -- generate data sets for PRW workbench from CO and AN

SYNOPSIS
     prvec (-i item) (-s start) (-e end) (-w window) (-O  offset)
     (-f   featurefile)   (-m  mapfile)  (-d  dbrange)  (-c)  (-S
     scriptfile) file

DESCRIPTION
     prvec generates a pattern vector stream from SFS  files  for
     use  by  the  Pattern Recognition workbench.  In the default
     mode, it will input a CO item and an AN item  and  generates
     on  its  standard  output a text vector stream.  The number,
     names and numbering of features is usually  specified  by  a
     feature  file which contains the names of features only, one
     per line.  The mapping between annotations and  features  is
     usually  controlled  by a mapping file (as antr). If no map-
     ping file is  specified,  the  annotations  should  only  be
     feature  names.  If no feature file is specified, it is gen-
     erated from a sorted list of annotations found in the  input
     item.   If an annotation is not mapped it is given a feature
     class of 0 and a warning is printed.

     Options:

     -I         Identify the program name and version.

     -iitem     Select input item number. Select  mutliple  track
                items.

     -sstart    Select start time (in seconds). Default 0.

     -eend      Select end time (in seconds). Default: end of  CO
                data.

     -wwindow   Number of CO frames in window.  Default 1.   Must
                be  odd. The class label is taken from a position
                in the middle of the window by default.

     -Ooffset   Offset in seconds between the start of each  vec-
                tor and the time taken for the class label.

     -ffeatfile Specifies the name and numbering of the  features
                that  form the pattern vector classes.  This file
                should have one feature name per line.

     -ddbrange  Compress top 'dbrange' of coefficient energies to
                range  0..1.   Default 50.  A value of zero turns
                off scaling.

     -c         Use 'character encoding' on the text  vectors  to
                reduce  memory  usage  in the pattern recognition



SFS                     Last change: UCL                        1






PRVEC(1)                 USER COMMANDS                   PRVEC(1)



                tools.  This maps the floating point output value
                0..1 to the integer range 0..255.

     -Sscriptfile
                Allows the '-i item' switches and file  names  to
                be  taken from a script file rather than from the
                command line.  This  is  the  only  mechanism  by
                which  more than one SFS file can be processed at
                a time.

FILES
     featfile   List of feature names, one per line; the ordering
                in  this  file  is  preserved in the vector class
                numbering.

     mapfile    List of annotation mappings.  The  first  element
                on  a  line  should be an annotation, the rest of
                the  line  should  be  zero  or   more   features
                appropriate to that annotation.

VERSION/AUTHOR
     1.0        Mark Huckvale

SOURCE
     /users/mark/sfs/man/../prw/util.src/prvec.c






























SFS                     Last change: UCL                        2



