|
|
Annotation loader interface.
| format | filename | id | signalInfo | options
|
| AIF | Yes | No | No | Optional
encoding := XML encoding name for the output
(default value: UTF-8)
|
| BAS | Yes | Yes | Optional | No
|
| BU | Yes
(no extension) | Yes | Optional | Optional
base := lbl | lba
(default value: lbl)
|
| LCF | Yes | Yes | Optional | No
|
| SwitchBoard | Yes | Yes | Optional | No
|
| TF | Yes | Yes | Optional | Yes
header := field names separated by separators
separator := separator of the format
ann_type := type of annotations
(default value: TF)
|
| TIMIT | Yes
(no extension) | Yes | Optional | No
|
| TreeBank | Yes | Yes | No | Optional
input type := string
(use to load a string instead of a file)
|
| XLabel | Yes | Yes | Optional | Optional
ann_type := type of annotations
(default value: object)
|
-
Parameters:
-
| annotationFile
|
Annotation file name. |
| id
|
Id of AGSet or AG into which the annotataion will be loaded. |
| signalInfo
|
Feature-value map for signal information. Possible features include 'uri', 'mimeClass', 'mimeType', 'encoding', 'unit', and 'track'. 'uri' indicates the location of the signal file. |
| options
|
Feature-value map for extra options. There may be different options in different annotation formats. |
-
Returns:
-
Id of the AG(s) where the file is loaded.
|