VTT File Format
Format Information
VTT opens and saves tagged text files in VTT file format. Two types of file format will be displayed (opened) in VTT:
I. Meta Data
Meta data are included in the VTT file in this version. Meta data are stored in the VTT file with preserved tag and format:
#<----------------------------------------------------------------------> #<Meta Data> #<Tags file|confirmation|path of default tags file> #<File History|VTT file format version|User name|Time stamp> #<----------------------------------------------------------------------> ...
Field 1 | Field 2 | Field 3 | |
---|---|---|---|
Description | Preserved Tag | confirmation flag | path of default tags file |
Java Type | String | boolean | String |
Example | TAGS_FILE |
|
|
Field 1 | Field 2 | Field 3 | Field 4 | |
---|---|---|---|---|
Description | Preserved Tag | VTT file format version | User name | Time stamp |
Java Type | String | String | String | String |
Example | FILE_SAVE | VTT.2010.0 | VTT Guest |
|
II. Text Content
#<----------------------------------------------------------------------> #<Text Content> #<----------------------------------------------------------------------> ...
III. Tags Configuration
#<----------------------------------------------------------------------> #<Tags Configuration> #<Name|Category|Bold|Italic|Underline|Display|FR|FG|FB|BR|BG|BB|FontFamily|FontSize> #<----------------------------------------------------------------------> Text/Clear||false|false|false|true|255|255|255|0|51|153|Monospaced|12 #<----------------------------------------------------------------------> ...
Field 1 | Field 2 | Field 3 | Field 4 | Field 5 | Field 6 | Field 7 | Field 8 | Field 9 | Field 10 | Field 11 | Field 12 | Field 13 | Field 14 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description | Name | Category | Bold | Italic | Underline | Display | Foreground-Red | Foreground-Green | Foreground-Blue | Background-Red | Background-Green | Background-Blue | Font Family | Font size |
Java Type | String | String | boolean | boolean | boolean | boolean | int | int | int | int | int | int | String | String |
Example | Text/Clear |
|
|
|
| 0 ~ 255 | 0 ~ 255 | 0 ~ 255 | 0 ~ 255 | 0 ~ 255 | 0 ~ 255 |
|
|
IV. Markups Information
#<----------------------------------------------------------------------> #<Markups Information> #<Offset|Length|TagName|TagCategory|Annotation|TagText> #<----------------------------------------------------------------------> ...
Field 1 | Field 2 | Field 3 | Field 4 | Field 5 | Field 6 | More Fields | |
---|---|---|---|---|---|---|---|
Description | Offset | Length | Tagged name | Tag Category | Annotation | Tagged Text | Other NLP fields |
Java Type | int | int | String | String | String | Not used | Not used |