1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
| // Video + Audio + Paragraphs synchronization test configuration
| export const videoAudioParagraphsConfig = `
| <View>
| <Video name="video" value="$url" sync="sync1" height="150"/>
| <Audio name="audio" value="$url" hotkey="space" sync="sync1" />
| <Header value="Sentiment"/>
| <ParagraphLabels name="label" toName="text">
| <Label value="General: Positive" background="#00ff00"/>
| <Label value="General: Negative" background="#ff0000"/>
| <Label value="Company: Positive" background="#7dff7d"/>
| <Label value="Company: Negative" background="#ff7d7d"/>
| <Label value="External: Positive" background="#4bff4b"/>
| <Label value="External: Negative" background="#ff4b4b"/>
| </ParagraphLabels>
| <View style="height: 400px; overflow-y: auto">
| <Header value="Transcript"/>
| <Paragraphs audioUrl="$url" name="text" value="$text" layout="dialogue" textKey="text" nameKey="author" showplayer="true" sync="sync1" />
| </View>
| </View>
| `;
|
| export const videoAudioParagraphsData = {
| url: "/public/files/opossum_intro.webm",
| text: [
| {
| end: 3,
| text: "Dont you hate that?",
| start: 1,
| author: "Mia Wallace",
| },
| {
| text: "Hate what?",
| start: 3,
| author: "Vincent Vega:",
| duration: 1,
| },
| {
| text: "Uncomfortable silences. Why do we feel its necessary to yak about nonsense in order to be comfortable?",
| author: "Mia Wallace:",
| start: 4,
| end: 6,
| },
| {
| text: "I dont know. Thats a good question.",
| start: 6,
| end: 8,
| author: "Vincent Vega:",
| },
| {
| text: "Thats when you know you found somebody really special. When you can just shut the door closed a minute, and comfortably share silence.",
| author: "Mia Wallace:",
| start: 8,
| end: 10,
| },
| ],
| };
|
| export const videoAudioParagraphsAnnotations = [
| {
| value: {
| start: "0",
| end: "0",
| startOffset: 0,
| endOffset: 4,
| text: "Dont",
| paragraphlabels: ["General: Negative"],
| },
| id: "RcHv5CdYBt",
| from_name: "label",
| to_name: "text",
| type: "paragraphlabels",
| origin: "manual",
| },
| {
| value: {
| start: "0",
| end: "0",
| startOffset: 9,
| endOffset: 13,
| text: "hate",
| paragraphlabels: ["General: Positive"],
| },
| id: "eePG7PVYH7",
| from_name: "label",
| to_name: "text",
| type: "paragraphlabels",
| origin: "manual",
| },
| ];
|
| export const fullOpossumSnowData = {
| url: "/public/files/opossum_snow.mp4",
| text: [
| {
| start: 5.528639507357505,
| end: 6.70534554273317,
| text: "Mahna Mahna",
| author: "Mahna Mahna",
| },
| {
| start: 8.202614379084968,
| end: 9.281045751633988,
| text: "Mahna Mahna",
| author: "Mahna Mahna",
| },
| {
| start: 10.898692810457517,
| end: 11.998910675381264,
| text: "Mahna Mahna",
| author: "Mahna Mahna",
| },
| {
| start: 17.467320261437912,
| end: 18.567538126361658,
| text: "Mahna Mahna",
| author: "Mahna Mahna",
| },
| {
| start: 20.21786492374728,
| end: 21.045751633986928,
| text: "Mahna Mahna",
| author: "Mahna Mahna",
| },
| {
| start: 22.875816993464056,
| end: 23.69281045751634,
| text: "Mahna Mahna",
| author: "Mahna Mahna",
| },
| {
| start: 34.869281045751634,
| end: 35.55555555555556,
| text: "Mahna Mahna",
| author: "Mahna Mahna",
| },
| {
| start: 37.48793583224401,
| end: 38.413861758169936,
| text: "Mahna Mahna",
| author: "Mahna Mahna",
| },
| {
| start: 40.12410140958606,
| end: 41.2569990130719,
| text: "Mahna Mahna",
| author: "Mahna Mahna",
| },
| ],
| };
|
|