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. Text Content
#<----------------------------------------------------------------------> #<Text Content> #<----------------------------------------------------------------------> ...
II. Tags Configuration
#<----------------------------------------------------------------------> #<Tags Configuration> #<Name|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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description | Name | Bold | Italic | Underline | Display | Foreground-Red | Foreground-Green | Foreground-Blue | Background-Red | Background-Green | Background-Blue | Font Family | Font size |
Java Type | 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 |
|
|
III. Markups Information
#<----------------------------------------------------------------------> #<Markups Information> #<Offset|Length|TagName|Annotation|TagText> #<----------------------------------------------------------------------> ...
Field 1 | Field 2 | Field 3 | Field 4 | Field 5 | More Fields | |
---|---|---|---|---|---|---|
Description | Offset | Length | Tagged name | Annotation | Tagged Text | Other NLP fields |
Java Type | int | int | String | String | Not used | Not used |