


ANMAP(1)                 USER COMMANDS                   ANMAP(1)



NAME
     anmap -- map between sets of annotations using mapping file

SYNOPSIS
     anmap (-i item) (-r samplingrate)  (-b  boundarylength)  (-t
     newtype) (-m) mapfile file
     anmap (-i item) (-b boundarylength) -o

DESCRIPTION
     anmap maps one set of annotations onto another, using a map-
     ping  file  to  substitute annotation labels.  Labels not in
     the mapping file  are  copied  unchanged,  but  reported  as
     errors.  The sampling rate of the annotation set can also be
     changed by an option.  If executed with  the  "-o"  flag,  a
     mapping file is not required, and instead an ordered list of
     annotations is produced from the input AN item.   The  boun-
     dary  marking  option  allows  additional  annotations to be
     created of a fixed  size  at  each  boundary  point  between
     existing annotations.

     Options:

     -I         Identify the program name and version.

     -iitem     Select input item number.

     -rsampling rate
                Select the sampling rate for the  output  annota-
                tion  item.  Default  is  sampling  rate of input
                annotation item.

     -bboundarylength
                Creates additional annotations at  the  junctions
                between  existing  annotations.  The width of the
                juncture  region  is  specified  by  the   'boun-
                darylength' parameter in seconds.  For each junc-
                tion, two additional annotations are  added:  the
                left  boundary:  <label1>(<label2>) and the right
                boundary (<label1>)<label2>.  Each of these  will
                be half the juncture length specified.

     -tnewtype  Supply a new type= string for the output  annota-
                tion  item  history.   Default  is the input item
                type.

     -m         Compact multiple annotations of  a  given  output
                label to a single annotation.

     -o         Select annotation output mode.   A  mapping  file
                must  not be given in this mode.  Prints to stan-
                dard output an ordered list of  annotations  from
                the input AN item.



SFS                     Last change: UCL                        1






ANMAP(1)                 USER COMMANDS                   ANMAP(1)



MAPPING FILE FORMAT
     Each line in the mapping file must have the  following  for-
     mat:
           <old annotation> <new annotation>
     where <old annotation> is the name of an  annotation  to  be
     converted,  and  <new annotation> if the new annotation.  If
     <new annotation> is blank then the input annotation will  be
     deleted.  For example
          ee     i
          ih     I
          $
          r      r

VERSION/AUTHOR
     1.2 - Mark Huckvale

SOURCE
     /users/mark/sfs/man/../ucl/anmap.c





































SFS                     Last change: UCL                        2



